Class SchemaMetadataJsonConverter


  • public final class SchemaMetadataJsonConverter
    extends Object
    This class converts the schema metadata to its JSON representation.
    • Method Detail

      • convert

        public javax.json.JsonObject convert​(SchemaMetadata schemaMetadata)
        Convert the given schema metadata to its JSON representation
        Parameters:
        schemaMetadata - schemaMetadata to be converted into JSON
        Returns:
        JSON representation
      • convertType

        public javax.json.JsonObject convertType​(DataType dataType)
        Convert a data type to its JSON representation
        Parameters:
        dataType - data type to be converted
        Returns:
        JSON representation