org.json.simple

## Class Yytoken

- java.lang.Object
- - org.json.simple.Yytoken

-     class Yytoken
      extends Object

  Represents structural entities in JSON.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `(package private) static class` | `Yytoken.Types` Represents the different kinds of tokens.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Yytoken(Yytoken.Types type, Object value)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `(package private) Yytoken.Types` | `getType()`
    `(package private) Object` | `getValue()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Yytoken

          Yytoken(Yytoken.Types type,
                  Object value)

      Parameters:
        `type` - represents the kind of token the instantiated token will be.
        `value` - represents the value the token is associated with, will be ignored unless type is equal to Types.DATUM.
      See Also:
        `Yytoken.Types`

  - ### Method Detail

    - #### getType

          Yytoken.Types getType()

      Returns:
        which of the Types the token is.
      See Also:
        `Yytoken.Types`

    - #### getValue

          Object getValue()

      Returns:
        what the token is.
      See Also:
        `Yytoken.Types`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`