xson 0.0.8+8 xson: ^0.0.8+8 copied to clipboard
A starting point for Dart libraries or applications.
0.0.1 #
- Initial version, created by Stagehand
0.0.6+3 #
-
change named rule of nested class name, prefix top-level class name to every nested class
-
update json serialize/deserialize interface of generated bean:
-
factory Bean.fromJson(dynamic json);
-
dynamic toJson();
-
dynamic must be list(json array) or map(json object), if neither is then an error will be thrown
0.0.6+4 #
- new rule of named mode, all illegal character will be replaced with "_"
ex:
"an-apple" - "an_apple" - "anApple"
"an..apple****pie" - "an_apple_pie" - "anApplePie"
"100...test" - "$100_test" - "$100Test"
0.0.6+5 #
- fixed bugs
0.0.7 #
-
type auto transformer of all property
-
now you can specific property type at json source just generate some tag anywhere like this:
{
"a":100,
"b":[
{
"c": 200
}
]
}
//@.a=String
//@.b[].c=String
0.0.7+5 #
- fixed bugs of nested List parsed
0.0.8 #
- fixed transformer of List
0.0.8+1 #
- bug fixed
0.0.8+2 #
- bug fixed
0.0.8+3 #
- bug fixed