EJsonCodec class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
deserialize(BsonBinary buffer, {bool relaxed = false})
→ Map<String, dynamic>
-
Converts a serialized document to ejson format map.
-
doc2eJson(Map<String, dynamic> doc)
→ Map<String, dynamic>
-
Converts a Dart objects document into an ejson document.
-
eJson2Doc(Map<String, dynamic> ejsonMap)
→ Map<String, dynamic>
-
Converts an ejson document into a Dart objects document
-
parse(String ejsonString)
→ Map<String, dynamic>
-
Converts strings into element and type pairs.
-
serialize(Map<String, dynamic> eJsonMap, {int offset = 0})
→ BsonBinary
-
Serializes a ejson format document into a BSON binary object
-
stringify(Map<String, dynamic> ejsonMap)
→ String
-
Converts the element and type pairs in a deserialized object to strings.