Class JSON

java.lang.Object
com.nimbusds.common.json.JSON

public final class JSON extends Object
JSON serialisation. Serialises null values.
  • Constructor Details

    • JSON

      public JSON()
  • Method Details

    • toJSON

      public static String toJSON(Object obj)
      Serialises the specified object to a JSON string. Unicode characters are not escaped.
      Parameters:
      obj - The object.
      Returns:
      The JSON string.