Packagecom.adobe.serialization.json
Classpublic class JSONToken



Public Properties
 PropertyDefined by
  type : int
Returns the type of the token.
JSONToken
  value : Object
Gets the value of the token
JSONToken
Public Methods
 MethodDefined by
  
JSONToken(type:int = -1, value:Object = null)
Creates a new JSONToken with a specific token type and value.
JSONToken
Property detail
typeproperty
type:int  [read-write]

Returns the type of the token.

Implementation
    public function get type():int
    public function set type(value:int):void

See also

valueproperty 
value:Object  [read-write]

Gets the value of the token

Implementation
    public function get value():Object
    public function set value(value:Object):void

See also

Constructor detail
JSONToken()constructor
public function JSONToken(type:int = -1, value:Object = null)

Creates a new JSONToken with a specific token type and value.

Parameters
type:int (default = -1) — The JSONTokenType of the token
 
value:Object (default = null) — The value of the token