tango.text.json.JsonEscape

Members

Functions

escape
T[] escape(const(T)[] src, T[] dst)

Convert reserved chars to escaped ones. For example: \ => \\

escape
void escape(const(T)[] src, void delegate(const(T)[]) emit)

Convert reserved chars to escaped ones. For example: \ => \\

main
void main()
unescape
T[] unescape(const(T)[] src, T[] dst)

Convert 'escaped' chars to normal ones. For example: \\ => \

unescape
void unescape(const(T)[] src, void delegate(const(T)[]) emit)

Convert 'escaped' chars to normal ones. For example: \\ => \

Meta

License

BSD style: $(LICENSE)

Version

July 2008: Initial release