Interface Struct.WriteJsonFormat

Enclosing class:
Struct

public static interface Struct.WriteJsonFormat
This class can be serialised as a JSON value by calling it's writeJsonFormat() method Multiple json formats are supported by supplying a jsonFormat string; e.g. 'simple'. Passing null or an empty string should be equivalent to calling toJson() if the class also implements the Struct.ToJson interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    writeJsonFormat(Writer w, String jsonFormat)