Skip to content

Commit

Permalink
JsonProperty updates for proper serializations
Browse files Browse the repository at this point in the history
  • Loading branch information
payneBrandon committed Jan 14, 2022
1 parent 3f697e1 commit 075d025
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@

public class ITIS_CodesAndText extends Asn1Object {
private static final long serialVersionUID = 1L;
@JsonProperty("SEQUENCE")
private Items[] SEQUENCE;

@JsonProperty("SEQUENCE")
public Items[] getSEQUENCE() {
return SEQUENCE;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@

public class Regions extends Asn1Object {
private static final long serialVersionUID = 1L;

@JsonProperty("GeographicalPath")
private GeographicalPath[] GeographicalPath;

@JsonProperty("GeographicalPath")
public GeographicalPath[] getGeographicalPath() {
return GeographicalPath;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
******************************************************************************/
package us.dot.its.jpo.ode.plugin.j2735.timstorage;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

Expand Down Expand Up @@ -93,6 +94,7 @@ public void setDuratonTime(String duratonTime) {
this.duratonTime = duratonTime;
}

@JsonIgnore
public Content getContent() {
return tcontent;
}
Expand Down

0 comments on commit 075d025

Please sign in to comment.