Class: JSON::State

Inherits:
Object
  • Object
show all
Defined in:
ext/state_ext/state_ext.c

Defined Under Namespace

Modules: ClassMethods

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeObject

Instance Attribute Details

#array_nlObject

This string is put at the end of a line that holds a JSON array.

#object_nlObject

This string is put at the end of a line that holds a JSON object (or Hash).

#spaceObject

This string is used to include a space between the tokens in a JSON string.

Instance Method Details

#forgetObject

#indentObject

This string is used to indent levels in the JSON string.

#indent=Object

#rememberObject

#seen?Boolean

Returns:

  • (Boolean)