From 677c86c23373a5a333093598785017069daf7833 Mon Sep 17 00:00:00 2001 From: Elizabeth Healy Date: Wed, 20 Nov 2024 11:23:03 -0500 Subject: [PATCH] change jsonadapter annotation --- sdk/src/main/java/io/opentdf/platform/sdk/Manifest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {