Interface IJSONDataType
- Namespace
- PushTechnology.ClientInterface.Data.JSON
- Assembly
- Diffusion.Client.dll
The JSON data type.
public interface IJSONDataType : IDataType<IJSON>, IDataType
- Inherited Members
Remarks
For efficiency, the JSON value is serialized in binary form following the CBOR specification.
The implementation provides support for binary deltas.
JSON.
Since 5.8
Properties
BinaryDeltaType
Returns support for binary deltas.
IDeltaType<IJSON, IBinaryDelta> BinaryDeltaType { get; }
Property Value
- IDeltaType<IJSON, IBinaryDelta>
Support for binary deltas.
Remarks
Equivalent to calling DeltaType(typeof(IBinaryDelta)).
Methods
FromJSONString(string)
Parses a JSON string.
IJSON FromJSONString(string json)
Parameters
jsonstringThe JSON-formatted string to parse.
Returns
- 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.