JSON class

namespace: Serenity   assemblySerenity.Net.Core

Contains shortcuts to Newtonsoft.Json serialization / deserialization methods, and default Serenity settings.

public static class JSON

Public Members

name description
static Parse(…) Deserializes a JSON string to an object
static Parse<T>(…) Deserializes a JSON string to an object
static ParseTolerant(…) Deserializes a JSON string to an object, using more tolerant settings
static ParseTolerant<T>(…) Deserializes a JSON string to an object, using more tolerant settings.
static Stringify(…) Converts object to its JSON representation
static StringifyIndented(…) Converts object to its JSON representation
static ToJson(…) Converts an object to its JSON representation (extension method for Stringify)

See Also