Interface MetadataTypeWriter

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void write​(MetadataType metadataType, com.google.gson.stream.JsonWriter writer)
      Given a MetadataType, serializes it into a JSON format, the result of the serialization will be written by the {@param writer}.
    • Method Detail

      • write

        void write​(MetadataType metadataType,
                   com.google.gson.stream.JsonWriter writer)
            throws IOException
        Given a MetadataType, serializes it into a JSON format, the result of the serialization will be written by the {@param writer}.
        Parameters:
        metadataType - MetadataType to doSerialize.
        writer - JsonWriter which will be used to write the serialized MetadataType
        Throws:
        IOException - if any error occurred when writing the JSON file.