ejson_annotation 0.4.0 ejson_annotation: ^0.4.0 copied to clipboard
Annotation for EJSON serialization. BSON is a binary format used to store JSON-like documents efficiently. EJSON extends JSON defining how all BSON types should be represented in JSON.
0.4.0 #
fromEJson<T>
now accepts adefaultValue
argument that is returned if
null
is passed asejson
.register<T>
takes an optionalsuperTypes
argument to specify the super types ofT
if needed.
0.3.1 #
- Update sane_uuid dependency to ^1.0.0 (compensate for breaking change)
0.3.0 #
- Rename
Key
class toBsonKey
to avoid common conflict with flutter
0.2.0-pre.1 #
- First published version.
0.1.0 #
- Initial version.