Skip to content

Commit

Permalink
Enable serialisering av grunnlag (#1198)
Browse files Browse the repository at this point in the history
  • Loading branch information
jolarsen authored Oct 12, 2022
1 parent a5e2bbb commit 89adb79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package no.nav.vedtak.felles.integrasjon.infotrygd.grunnlag.v1.respons;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;

public record Orgnummer(@JsonValue String orgnr) {
public record Orgnummer(String orgnr) {

@JsonCreator
public static Orgnummer forValue(String orgnr) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package no.nav.vedtak.felles.integrasjon.infotrygd.grunnlag.v1.respons;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;

public record Prosent(@JsonValue Integer prosent) {
public record Prosent(Integer prosent) {

@JsonCreator
public static Prosent forValue(Integer value) {
Expand Down

0 comments on commit 89adb79

Please sign in to comment.