Class Json

java.lang.Object
org.apache.avro.data.Json

public class Json extends Object
Utilities for reading and writing arbitrary Json data in Avro format.
  • Field Details

    • SCHEMA

      public static final Schema SCHEMA
      The schema for Json data.
  • Method Details

    • parseJson

      public static Object parseJson(String s)
      Parses a JSON string and converts it to the object model described in JsonProperties.
    • toString

      public static String toString(Object datum)
      Converts an instance of the object model described in JsonProperties to a JSON string.