Interface LicenseCheckerJsonValue

All Superinterfaces:
Serializable
All Known Subinterfaces:
LicenseCheckerJsonArray, LicenseCheckerJsonBoolean, LicenseCheckerJsonNull, LicenseCheckerJsonNumber, LicenseCheckerJsonObject, LicenseCheckerJsonString
All Known Implementing Classes:
LicenseCheckerJreJsonArray, LicenseCheckerJreJsonBoolean, LicenseCheckerJreJsonNull, LicenseCheckerJreJsonNumber, LicenseCheckerJreJsonObject, LicenseCheckerJreJsonString, LicenseCheckerJreJsonValue

public interface LicenseCheckerJsonValue extends Serializable
Base interface for all LicenseCheckerJson values.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Coerces underlying value to boolean according to the rules of Javascript coercion.
    double
    Coerces the underlying value to a number according to the rules of Javascript coercion.
    Coerces the underlying value to a String according to the rules of JavaScript coercion.
    Returns an enumeration representing the fundamental JSON type.
    boolean
    Equivalent of Javascript '==' operator comparison between two values.
    Returns a serialized JSON string representing this value.
    If used in a GWT context (dev or prod mode), converts the object to a native JavaScriptObject suitable for passing to JSNI methods.
  • Method Details

    • asBoolean

      boolean asBoolean()
      Coerces underlying value to boolean according to the rules of Javascript coercion.
    • asNumber

      double asNumber()
      Coerces the underlying value to a number according to the rules of Javascript coercion.
    • asString

      String asString()
      Coerces the underlying value to a String according to the rules of JavaScript coercion.
    • getType

      Returns an enumeration representing the fundamental JSON type.
    • toJson

      String toJson()
      Returns a serialized JSON string representing this value.
      Returns:
    • jsEquals

      boolean jsEquals(LicenseCheckerJsonValue value)
      Equivalent of Javascript '==' operator comparison between two values.
    • toNative

      Object toNative()
      If used in a GWT context (dev or prod mode), converts the object to a native JavaScriptObject suitable for passing to JSNI methods. Otherwise, returns the current object in other contexts, such as server-side use.