All Known Subinterfaces:
JsonArrayBase<JVB>, JsonArrayCore<JVC>, JsonObjectBase<JVB>, JsonObjectCore<JVC>, JsonValueBase<JVB>, JsonValueCore<JVC>
All Known Implementing Classes:
GsonJsonArray, GsonJsonObject, GsonJsonValue, JacksonJsonArray, JacksonJsonObject, JacksonJsonValue, JakartaJsonArray, JakartaJsonObject, JakartaJsonValue, OrgJsonArray, OrgJsonObject, OrgJsonValue

public interface Jsonable
Jsonable allows the implementing class to be converted into a JSON string.
Author:
Wei-Ming Wu
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a JSON string which represents this object.
  • Method Details

    • toJson

      String toJson()
      Returns a JSON string which represents this object.
      Returns:
      a JSON string