public class JsonDeserializer extends Object implements GlueSchemaRegistryDataFormatDeserializer
| Constructor and Description |
|---|
JsonDeserializer(GlueSchemaRegistryConfiguration configs)
Constructor accepting various dependencies.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(@NonNull ByteBuffer buffer,
@NonNull String schema)
Deserialize the bytes to the original JSON message given the schema retrieved
from the schema registry.
|
public JsonDeserializer(GlueSchemaRegistryConfiguration configs)
configs - configuration elementspublic Object deserialize(@NonNull @NonNull ByteBuffer buffer, @NonNull @NonNull String schema)
deserialize in interface GlueSchemaRegistryDataFormatDeserializerbuffer - data to be de-serializedschema - JSONSchemaAWSSchemaRegistryException - Exception during de-serializationCopyright © 2021. All rights reserved.