JSON
System.JSON
Last updated
System.JSON
Last updated
Namespace: System
Assembly: Wisej.Framework (3.5.0.0)
Provides JSON serialization and parsing functionality and extends every Object with the ToJSON methods.
In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Parses a JSON string to a dynamic object, similar to a JavaScript "expando" object.
json
The JSON string to parse.
Returns: Object. An instance of DynamicObject containing all the values parsed from the json string.
Parses a JSON string to a dynamic object, similar to a JavaScript "expando" object.
stream
Returns: Object. An instance of DynamicObject containing all the values parsed from the stream stream.
Serializes the object to a JSON string.
obj
The object to serialize.
True to format the output JSON string.
Returns: String. A String representing the serialized object.
Serializes the object to a JSON string.
obj
The object to serialize.
options
Returns: String. A String representing the serialized object.
Serializes the object to a JSON string.
obj
The object to serialize.
True to format the output JSON string.
Returns: String. A String representing the serialized object.
Serializes the object to a JSON string.
obj
The object to serialize.
options
Returns: String. A String representing the serialized object.
A providing the JSON string to parse.
formatted
A combination of flags.
formatted
A combination of flags.