dson 0.15.0 dson: ^0.15.0 copied to clipboard
Convert Objects to Json and Json to Objects
Todo #
- ❌ Add include parameter to serialize function
- ✅
Add uuid check over hashCode for cyclical references - ❌ Add types to serialized values
- ❌ Add support for hal-json
- ❌ Add support for schema-json
- ❌ Add support for csv
- ❌ Add support for MessagePack
- ❌ Add support for converting to array of values-only
0.15.0 #
- upgrade
serializable_core
to version0.11.0
since this version now generates from methods which now allows convert objects from generic values. - move
SerializedName
tobuilt_mirrors
library since the serialized name is now generated at build time
0.14.0 #
- upgrade
source_gen
to version^0.9.0
- upgrade
analyzer
to version^0.32.0
- upgrade
built_mirrors_core
to version^0.9.0
- upgrade
serializable_core
to version^0.10.0
- upgrade
build_runner
to version^0.9.0
- upgrade
test
to version^1.0.0
0.13.3 #
- fix #34 and fix #35
0.13.2 #
- fix error serializing immutable with optional parameters
0.13.1 #
- upgrade
source_gen
to version^0.8.0
- add extend object sample to README
0.13.0 #
- upgrade
serializable_core
to version0.9.0
(fixes #32)
0.12.0 #
- add
dson_core
package - upgrade
build_runner
to version0.7.0
- upgrade
build
to version0.12.0
0.11.0 #
- add caches for
SerializedName
andIgnored
annotations - upgrade to
serializable@0.8.0
andbuilt_mirrors@0.7.1
0.10.2 #
- fixes #23: The getter 'name' was called on null
0.10.1 #
- deserialize int to double if required (fixes #22)
0.10.0 #
- Upgrade to
built_mirrors@^0.6.0
andserializable@^0.7.0
0.9.1 #
- Add
@uId
annotation
0.9.0 #
- upgrade
serializable
to version^0.6.0
- upgrade
buidl_mirrors
to version^0.5.0
- upgrade
build_runner
to version^0.4.0
- upgrade
build
to version^0.10.0
0.8.0 #
- upgrade
serializable
to version0.5.0
- add other dependencies needed
0.7.0 #
- upgrade
serializable
to version0.4.0
0.6.0 #
- remove
packageName
parameter fromphase
and makeglobs
parameter optional - upgrade
serializable
to version^0.3.0
0.5.0 #
- upgrade to new version of
serializable
- change usage of
_initClassMirrors
to_initMirrors
0.4.1 #
- use latest version of
serializable
andbuilt_mirrors
- change use of
BuiltMirrorsGenerator
toClassMirrorsGenerator
- add
InitClassMirrorsGenerator
tophase.dart
0.4.0 #
- Migrate code to use serializable and built_mirros instead reflectable
- create
DsonGenerator
anddsonPhase
0.3.3 #
- Correct bug about deserializing
var
types - Add support for deserializing generic types in the browser
0.3.2 #
- Add
Set
deserializer
0.3.1 #
- Add check for
double
ondeserializer._convertValue
- add check
if (valueType is DynamicMirrorImpl)
todeserializer._convertValue
to convertvar
ordynamic
attributes
0.3.0+1 #
- Update to reflectable 0.5.1
0.3.0 #
- Update to reflectable 0.4.0
- add enum support
- rename methods:
serialize
totoJson
deserialize
tofromJson
deserializeList
tofromJsonList
deserializeMap
tofromJsonMap
objectToSerializable
remains with the same nametoMap
method was createdmap
tofromMap
mapList
tofromMapList
0.2.0 #
- Breaking change: reflectable < 0.3.0 is not supported
- Bump reflectable support to ^0.3.0
0.1.8+1 #
- Extend version support for reflectable package
0.1.8 #
- Add support for deserializing Maps of objects (in values)
- Support for excludes, depth, and fieldName when serializing Maps of objects
0.1.5 #
- Add exclude parameter to serialize function
0.1.4 #
- Create stack for deserializer to get objects previously deserialized from cyclical conversions.
0.1.3 #
- Handle cyclical reference for serializing lists
0.1.2 #
- Handle cyclical reference for serializing objects using annotation
@cyclical
anddepth
parameter to avoid cyclical reference errors and determine how deep the user wants to serialize the object.