Class ProtobufConverter

    • Constructor Detail

      • ProtobufConverter

        public ProtobufConverter()
    • Method Detail

      • toJson

        public SchemaConverter.JsonNodeAndSize toJson​(Object value)
        Converts Protobuf data 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