Interface JSONToken

  • <section role="region">
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  JSONToken.Type
      Enumerates the different kinds of tokens that occur in a JSON stream
    </section> <section role="region"> </section>
  • <section role="region">
    • Method Detail

      • booleanValue

        boolean booleanValue()
        Returns the value of a property as a Boolean instance. Only permissible on instances where type() == JSONToken.Type.BOOLEAN_VALUE.
        Returns:
        a boolean value
      • numberValue

        java.lang.Number numberValue()
        Returns the value of a property as a Number instance. Only permissible on instances where type() == JSONToken.Type.NUMERIC_VALUE.
        Returns:
        a numeric value
      • propertyName

        java.lang.String propertyName()
        Returns the name of a property. Only permissible on instances where type() == JSONToken.Type.PROPERTY_NAME.
        Returns:
        the property name
      • stringValue

        java.lang.String stringValue()
        Returns the value of a property as a String. Only permissible on instsances where type() == JSONToken.Type.STRING_VALUE
        Returns:
        String value
    </section>