Interface IJSONDataType
The JSON data type.
Inherited Members
Namespace: PushTechnology.ClientInterface.Data.JSON
Assembly: Diffusion.Client.dll
Syntax
public interface IJSONDataType : IDataType<IJSON>, IDataType
Remarks
For efficiency, the JSON value is serialized in binary form following the CBOR specification.
The implementation provides support for BinaryDeltaType.
JSON.
Since 5.8
Properties
BinaryDeltaType
Returns support for binary deltas.
Declaration
IDeltaType<IJSON, IBinaryDelta> BinaryDeltaType { get; }
Property Value
Type | Description |
---|---|
IDeltaType<IJSON, IBinaryDelta> | Support for binary deltas. |
Remarks
Equivalent to calling DeltaType(Type).
Methods
FromJSONString(String)
Parses a JSON string.
Declaration
IJSON FromJSONString(string json)
Parameters
Type | Name | Description |
---|---|---|
String | json | The JSON-formatted string to parse. |
Returns
Type | Description |
---|---|
IJSON | The JSON value that represents the given JSON-formatted string. |
Remarks
Precision for numeric types is lost in the translation to the internal
CBOR binary form and non-significant white space is not preserved. It is
not guaranteed that FromJSONString(json).ToJSONString()
equals json
.