Struct JSONString
Represents a JSON string literal with lazy (un)escaping.
struct JSONString(String)
;
Constructors
Name | Description |
this
|
Constructs a JSONString from the given string value (unescaped).
|
Properties
Name | Type | Description |
anyValue [get]
|
Tuple!(const(String),bool) | Returns the string value in the form that is available without allocating memory.
|
rawValue [get, set]
|
String | The raw (escaped) string literal, including the enclosing quotation marks.
|
value [get, set]
|
String | The decoded (unescaped) string value.
|
Methods
Name | Description |
opCmp
|
Support relational comparisons
|
opEquals
|
Support equality comparisons
|
toHash
|
Support use as hash key
|