IJsonSerializer Interface |
Namespace: Couchbase.Lite
public interface IJsonSerializer : IDisposable
The IJsonSerializer type exposes the following members.
Name | Description | |
---|---|---|
CurrentToken |
Gets the current token when parsing in streaming mode
| |
Settings |
Gets or sets the settings to apply to the serializer
|
Name | Description | |
---|---|---|
ConvertToDictionaryK, V |
Converts the object from its intermediary JSON dictionary class to a .NET dictionary,
if applicable.
| |
ConvertToListT |
Converts the object from its intermediary JSON array class to a .NET list,
if applicable.
| |
DeepClone |
Makes a deep copy of the serializer in order to start an incremental parse
that is disposable.
| |
DeserializeT |
Reads a stream and converts the contained data to a typed object
| |
DeserializeNextObjectT |
A convenience function for deserializing the next object in a stream into
a .NET object
| |
DeserializeObjectT |
Converts a JSON string to a typed object
| |
Read |
Reads the next token from a JSON stream. Note that an incremental parse
must be started first.
| |
SerializeObject |
Convert an object to a JSON string
| |
StartIncrementalParse |
Starts parsing a stream of JSON incrementally, rather than serializing
the entire object into memory
| |
StopIncrementalParse |
Stops parsing a stream of JSON incrementally (after calling StartIncrementalParse(Stream))
|