diff --git a/sdk/src/main/java/io/opentdf/platform/sdk/Manifest.java b/sdk/src/main/java/io/opentdf/platform/sdk/Manifest.java index 74dc1f10..b42fafc2 100644 --- a/sdk/src/main/java/io/opentdf/platform/sdk/Manifest.java +++ b/sdk/src/main/java/io/opentdf/platform/sdk/Manifest.java @@ -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"; @@ -531,7 +532,6 @@ private JWSVerifier createVerifier(AssertionConfig.AssertionKey assertionKey) th // } // } - @JsonAdapter(ManifestDeserializer.class) // Custom deserializer public static class ManifestDeserializer implements JsonDeserializer { @Override public Manifest deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException {