Struct JSONParserNode
Represents a single node of a JSON parse tree.
struct JSONParserNode(String)
;
See parseJSONStream and JSONParserRange more information.
Properties
| Name | Type | Description |
|---|---|---|
key[get, set]
|
String | The key identifier for Kind nodes.
|
kind[get, set]
|
Kind | The kind of this node. |
literal[get, set]
|
inout(JSONToken!String) | The literal token for Kind nodes.
|
Methods
| Name | Description |
|---|---|
opEquals
|
Enables equality comparisons. |
toHash
|
Enables usage of JSONToken as an associative array key.
|
toString
|
Converts the node to a string representation. |