1 Answer
- Newest
- Most votes
- Most comments
0
I'm sorry, I might not be right, but you can try and use the following:
var jsonData = JsonReaderWriterFactory.CreateJsonReader(Encoding.UTF8.GetBytes(jsonInput), new System.Xml.XmlDictionaryReaderQuotas());
jsonData.Read(); // Move to the root element
jsonData.ReadStartElement("root"); // Move to the "value" property
string base64EncodedAvroData = jsonData.ReadContentAsString();
byte[] avroBytes = Convert.FromBase64String(base64EncodedAvroData);
YourAvroSchema deserializedData = avroDeserializer.Deserialize(avroBytes, isNull: false, context);
Relevant content
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
Hi , I am looking for an equivalent solution either in Java or pure vanilla Node Javascript. Haven´t seen anything like it yet freely on the internet. Has anyone gotten a reply from AWS developer support?