Class: JSON::State
- Inherits:
-
Object
- Object
- JSON::State
- Defined in:
- ext/state_ext/state_ext.c
Defined Under Namespace
Modules: ClassMethods
Instance Attribute Summary collapse
-
#array_nl ⇒ Object
This string is put at the end of a line that holds a JSON array.
-
#object_nl ⇒ Object
This string is put at the end of a line that holds a JSON object (or Hash).
-
#space ⇒ Object
This string is used to include a space between the tokens in a JSON string.
Instance Method Summary collapse
- #forget ⇒ Object
-
#indent ⇒ Object
This string is used to indent levels in the JSON string.
- #indent= ⇒ Object
- #initialize ⇒ Object constructor
- #remember ⇒ Object
- #seen? ⇒ Boolean
Constructor Details
#initialize ⇒ Object
Instance Attribute Details
#array_nl ⇒ Object
This string is put at the end of a line that holds a JSON array.
#object_nl ⇒ Object
This string is put at the end of a line that holds a JSON object (or Hash).
#space ⇒ Object
This string is used to include a space between the tokens in a JSON string.
Instance Method Details
#forget ⇒ Object
#indent ⇒ Object
This string is used to indent levels in the JSON string.