Click or drag to resize

JsonSerializer Class

Static class for serialize/deserialize BsonDocuments into json extended format
Inheritance Hierarchy
SystemObject
  Internal.LiteDBJsonSerializer

Namespace: Internal.LiteDB
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public class JsonSerializer

The JsonSerializer type exposes the following members.

Constructors
 NameDescription
Public methodJsonSerializerInitializes a new instance of the JsonSerializer class
Top
Methods
 NameDescription
Public methodStatic memberDeserialize(String) Deserialize a Json string into a BsonValue
Public methodStatic memberDeserialize(TextReader) Deserialize a Json TextReader into a BsonValue
Public methodStatic memberDeserializeArray(String) Deserialize a json array as an IEnumerable of BsonValue
Public methodStatic memberDeserializeArray(TextReader) Deserialize a json array as an IEnumerable of BsonValue reading on demand TextReader
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberSerialize(BsonValue, Boolean) Json serialize a BsonValue into a String
Public methodStatic memberSerialize(BsonValue, TextWriter, Boolean) Json serialize a BsonValue into a TextWriter
Public methodStatic memberSerialize(BsonValue, StringBuilder, Boolean) Json serialize a BsonValue into a StringBuilder
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also