Json Class
This page contains documentation for advanced Fuse features, so we have
taken the liberty to tick the "Show advanced things" checkbox above for
you in advance to be able to provide you with some additional information.
Contains tools for serializing scripting objects (based on IArray
and IObject
) to Json notation.
Location
- Namespace
- Fuse
- Package
- Fuse.Common 2.9.1
Interface of Json
Escape(string) : string uno
Parse(string) : object uno
Parse(string[]) : object[] uno
Parses a list of JSON strings into a list of objects, using Parse(string)
.
Stringify(object, bool) : string uno
Converts an object to a Json string, optionally normalized in alphabetic order.
ToLiteral(bool) : string uno
Returns the boolean value as a Json literal
ToLiteral(double) : string uno
Returns a number as a Json string.
ToLiteral(string, StringBuilder) uno
Escapes a string encapsulated in Json quotes into a StringBuilder.
ToLiteral(string) : string uno
Returns an escaped string encapsulated in Json quotes.