JSONString

Represents a JSON string literal with lazy (un)escaping.

Constructors

this
this(String value)

Constructs a JSONString from the given string value (unescaped).

Alias This

value

Members

Functions

opCmp
int opCmp(JSONString other)

Support relational comparisons

opEquals
bool opEquals(JSONString other)
bool opEquals(String other)

Support equality comparisons

toHash
size_t toHash()

Support use as hash key

Properties

anyValue
Tuple!(const(String), bool) anyValue [@property getter]

Returns the string value in the form that is available without allocating memory.

rawValue
String rawValue [@property getter]
String rawValue [@property setter]

The raw (escaped) string literal, including the enclosing quotation marks.

value
String value [@property getter]
const(String) value [@property getter]
String value [@property setter]

The decoded (unescaped) string value.

Meta