- null satefy by @PoloLacoste
- fix support for JMap<dynamic, Jsonable>
- change readme add example for write Jsonable "lean" mode
- ( Breaking change )remove jOnce function
- fix JList methos
- indexOf
- removeAt
- indexWhere
- setAll
- updating the Jlist does not produce different values, but updates the current ones without recreating with the constructor
- fix hints indicate of pub.dev
- fix hints indicate of pub.dev
JNum
add support to logic operator and arithmetic operatorJString
add support to logic operator and arithmetic operatorJList
add support to logic operator and arithmetic operatorupdate(Map)
new method (call always pre-existentfromMap
method)
-
add
add support forJMap
forMap\<dynamic, dyanmic\>
and Map of Jsonable:Map<String, Jsoanble>
class Person with Jsonable { JMap tags; JMap<String, Contact> contacts; Person() { this.tags = jMap("tags"); this.contacts = jMap<String, Contact>("contacts", builder: () => Contact()); } } class Contact with Jsonable { JString name; JString number; Contact() { name = jString("name"); number = jString("number"); } }
-
add
jDynamic new JType for dynamic -
New add support for validation field of Jsonable object (see readme)
-
Breaking change delete support Jsonable with reflection use dson
-
add
setter and getter value- void setValue(E value) - set value within JType
-
E getValue; - get value in JType
-
add
every JType has access to "value" even in a more specific way- setString(String value) / String getString()
- setNum(num value) / num getNum()
- setBool(bool value) / bool getBool()
-
Breaking Change removed (experimental) operator "<<" and operator ">>"
- (experimental) add JType operator "<<" for set value internal Jtype and operator ">>" for get value internal Jtype
- add Jsonable operator "[]"
- performance improvement
- deprecation old Jsonable reflect if you use reflection use this pack: dson
- start of experiments with flutter and auto-form (soon with a new flutter package)
- add example for benchmark
Breaking change.
With the 0.0.1 management I started development with the reflection of Dart. This resulted in problems with AOT and consequently also with flutter. In version 0.0.2 all the APIs based on reflection in jsonable / withReflect have been moved
Announcements: 0.0.2 I set out to remove the generation of dart code from my projects, it's a practice I don't like. So in version 0.0.2 I start the creation of a module that is without generation and without reflection.
For more information read here.
- frist publication. read: Readme.md