Class AvroConverter

    • Constructor Detail

      • AvroConverter

        public AvroConverter()
    • Method Detail

      • toJson

        public SchemaConverter.JsonNodeAndSize toJson​(Object value)
        Converts Avro data (including primitive types) to their equivalent JsonNode representation.
        Specified by:
        toJson in interface SchemaConverter
        Parameters:
        value - the value to convert
        Returns:
        an object containing the root JsonNode representing the converted object and the size in bytes of the data when serialized