JsonUtility Members
Include Protected Members
Include Inherited Members
A class providing static methods to help convert data to JavaScript Object Notation (JSON).
The JsonUtility type exposes the following members.
Methods
Name | Description | |
---|---|---|
DateTicksToJsTicks | Converts an Int64 that corresponds to the value of a Ticks property of a DateTime to an Int64 that, when passed into an ECMAScript (JScript, JavaScript) Date object’s setTime method, will result in the ECMAScript Date representing the same date and time as the DateTime. | |
DeserializeDateTime | Converts a serialized date and time to a System.DateTime object, or null if a valid conversion cannot be made. | |
EncodeFunctionCall | Returns a JavaScript Object Notation (JSON) string that, when evaluated in ECMAScript (JScript, JavaScript) by the SP.JsGrid.Deserializer.DeserializeFromJson method will result in the function specified being called with the given arguments. | |
GetPropertiesToSerializeForType | Get properties required to serialize a particular type. | |
IsValidLeftHandJsonString | A Boolean representing whether this is a valid left hand JSON string. | |
JsonEncode | Encode the string into JavaScript Object Notation (JSON). | |
JsTicksToDateTicks | Converts an Int64 that corresponds to the value returned by a call to getTicks on a ECMAScript (JScript, JavaScript) Date to a value that, when used to construct a DateTime, will result in that object representing the same date and time as the ECMAScript Date. | |
QuoteString | Apply quotation marks to the string. | |
SerializeDateTime | Serializes a System.DateTime object to JavaScript Object Notation (JSON). | |
SerializeToJsonFromProperties | Generate JavaScript Object Notation (JSON) serialization by serializing the individual properties of an object. | |
UnquoteString | Remove quotation marks from the given string |
Top