Skip to content

Commit

Permalink
change jsonadapter annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
elizabethhealy committed Nov 20, 2024
1 parent fc062c9 commit 677c86c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/main/java/io/opentdf/platform/sdk/Manifest.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
* of data integrity, encryption, payload, and assertions within a certain
* context.
*/
@JsonAdapter(Manifest.ManifestDeserializer.class) // Custom deserializer
public class Manifest {

private static final String kAssertionHash = "assertionHash";
Expand Down Expand Up @@ -531,7 +532,6 @@ private JWSVerifier createVerifier(AssertionConfig.AssertionKey assertionKey) th
// }
// }

@JsonAdapter(ManifestDeserializer.class) // Custom deserializer
public static class ManifestDeserializer implements JsonDeserializer<Manifest> {
@Override
public Manifest deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException {
Expand Down

0 comments on commit 677c86c

Please sign in to comment.