Interface LicenseCheckerJsonObject

All Superinterfaces:
LicenseCheckerJsonValue, Serializable
All Known Implementing Classes:
LicenseCheckerJreJsonObject

public interface LicenseCheckerJsonObject extends LicenseCheckerJsonValue
Represents a LicenseCheckerJson object.
  • Method Details

    • get

      <T extends LicenseCheckerJsonValue> T get(String key)
      Return the element (uncoerced) as a LicenseCheckerJsonValue.
    • getArray

      Return the element (uncoerced) as a LicenseCheckerJsonArray. If the type is not an array, this can result in runtime errors.
    • getBoolean

      boolean getBoolean(String key)
      Return the element (uncoerced) as a boolean. If the type is not a boolean, this can result in runtime errors.
    • getNumber

      double getNumber(String key)
      Return the element (uncoerced) as a number. If the type is not a number, this can result in runtime errors.
    • getObject

      Return the element (uncoerced) as a LicenseCheckerJsonObject If the type is not an object,, this can result in runtime errors.
    • getString

      String getString(String key)
      Return the element (uncoerced) as a String. If the type is not a String, this can result in runtime errors.
    • keys

      String[] keys()
      All keys of the object.
    • put

      void put(String key, LicenseCheckerJsonValue value)
      Set a given key to the given value.
    • put

      void put(String key, String value)
      Set a given key to the given String value.
    • put

      void put(String key, double value)
      Set a given key to the given double value.
    • put

      void put(String key, boolean bool)
      Set a given key to the given boolean value.
    • hasKey

      boolean hasKey(String key)
      Test whether a given key has present.
    • remove

      void remove(String key)
      Remove a given key and associated value from the object.
      Parameters:
      key -