squint_json

Creator: coderz1093

Last updated:

0 purchases

squint_json Image
squint_json Images

Languages

Categories

Add to Cart

Description:

squint json

Lightweight JSON processor and AST.
Safely deserialize JSON decoded Strings to Dart Types.
A JSON decoding library that actually decodes nested lists.
No more dynamic mapping!

const example = """
{
"aRidiculousListOfLists": [ [ [ [ "Lugia", "Ho-Oh" ], [ "Pikachu!" ] ] ] ]
}""";

final decoded = example.jsonDecode;
final myArray = decoded.array("aRidiculousListOfLists");
expect(myArray.data[0][0][0][0], "Lugia");
expect(myArray.data[0][0][0][1], "Ho-Oh");

copied to clipboard
Features #

Deserialize JSON properly including (nested) arrays.
Deserialize JSON without writing data classes.
Generate data classes from JSON content.
Generate boilerplate for JSON processing programmatically.
Generate boilerplate for JSON processing through cli.
Format JSON messages.
Does not require build_runner.
Does not require dart:mirrors.
Extensible: Write and reuse custom JSON data converters.

Documentation #
For latest release see 0.1.2.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.