Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Functions JsonParser.Token.asEscapedString

1
2
3
4
5

Documentation

Provides an InputRange of const(char)[]which will provide the string value of this string/name token, but with any escape characters transformed into their underlying value.

Example

Given a JSON string of "abc\n123", this range will produce ["abc", [cast(char)0x0A], "123"].

Given a JSON string of "foobarbaz"this range will produce ["foobarbaz"].

Given a JSON string of "abc\n\n123", this range will produce ["abc", [cast(char)0x0A], [cast(char)0x0A], "123"].

Returns

An InputRange of escaped slices.