Interface JSONSerializable


public interface JSONSerializable
Deprecated.
Use a third-party JSON library, e.g. Jackson or Gson
Interface for classes that wish to control their own serialization. Will be removed in 6.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Called during serialization to JSON.
  • Method Details

    • jsonSerialize

      void jsonSerialize(JSONWriter w)
      Deprecated.
      Called during serialization to JSON.