json2builtvalue icon indicating copy to clipboard operation
json2builtvalue copied to clipboard

Json to Dart built_value classes generator

Results 6 json2builtvalue issues
Sort by recently updated
recently updated
newest added

The generator incorrectly parses `double` values as `int` when the fractional part of `double` consists solely zeros. For example, 1.0 or 1.00 both resolve to `int` wheres 1.1 or 1.01...

I think swagger parser will be very useful.

``` { "message_type": "GET_STORY", "status": "Success", "response_code": "1200", "details": { "content": [ { "id": "1cbee0cc-11f2-11e9-8fc7-5130b7f9b02f", "story": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla id justo vitae odio elementum...

After trying to parse some json strings with https://charafau.github.io/json2builtvalue/, it throws a RangeError exception when trying to parse empty lists and null values, e.g.: `{ "a": 1, "b": 2, "c":...

https://github.com/charafau/json2builtvalue/blob/677fe7721c6ed7cd41e611914640c0e7971e63e3/lib/parser.dart#L159