Bluestep JS Documentation
    Preparing search index...

    Class JsonPrimitive

    A class representing a Json primitive value.

    See com.google.gson.JsonPrimitive for full documentation

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • convenience method to get this element as a BigDecimal.

      Returns number

    • convenience method to get this element as a BigInteger.

      Returns number

    • convenience method to get this element as a boolean value.

      Returns boolean

    • convenience method to get this element as a primitive character value.

      Returns string

    • convenience method to get this element as a primitive double value.

      Returns number

    • convenience method to get this element as a primitive float value.

      Returns number

    • convenience method to get this element as a primitive integer value.

      Returns number

    • convenience method to get this element as a JsonNull.

      Returns JsonNull

    • convenience method to get this element as a primitive long value.

      Returns number

    • convenience method to get this element as a Number.

      Returns number

    • convenience method to get this element as a primitive short value.

      Returns number

    • convenience method to get this element as a string value.

      Returns string

    • provides check for verifying if this element is an array or not.

      Returns boolean

    • provides check for verifying if this element represents a null value or not.

      Returns boolean

    • provides check for verifying if this element is a Json object or not.

      Returns boolean

    • provides check for verifying if this element is a primitive or not.

      Returns boolean