Eric Ley
Eric Ley
Just came across this issue and I was thinking about something like this: ```dart CompountStatementBuilder() ..addStatement(refer('myBool').eq(literal('1')).asIf()) ..addBlock(BlockBuilder() ..addStatement(literal(returnValue).returned.statement) ) ..followedBy(CompountStatementBuilder() ..addStatement(literalElse) ..addBlock(/* .. */)); CompountStatementBuilder() ..addStatement(refer('myArray').asFor(refer('item'))) ..addBlock(/* .. */); CompountStatementBuilder()...
No worries, still a lot of things to do on my side anyway.
Thanks @kevmoo ! It sounds like a good idea, to have `json_serializable` as the basic serialization solution with no "magic" and `dartson` on top to provide some nice to have...
Interesting! Didn't know it was used, but looks like they have also converted from dartson because of flutter support.
@kevmoo I'm still working on this, but it takes some time because of the lack of free time (tackling the release of our 2.0 software version). I'm currently getting into...
To keep you posted. I'm working on a new alpha version, which should support current functionality but requires small amount of builder setup. I'll probably have something released by the...
So first alpha release is out. It ships with the base functionality which was provided in previous dartson versions and because of `json_serializable` enums are supported as well. Big thanks...
@Meai1 thanks for the feedback! I'm currently working on the refactoring including proper exception messages. I'm also considering implementing `Codec` in `Dartson`, so it could be used with other codecs...
@Meai1 the issue is fixed in 1.0.0-alpha+1 . Please see README.md for the implementation. My previous idea of using `Codec` doesn't work as intended because of the generic methods necessary...
Indeed! I have this on my todo list. List encoding / decoding doesn't work currently. I'll maybe get something in today. It will be a different method `encodeList`, `decodeList`.