Last updated:
0 purchases
json data
json_data #
Helper package for converting nested json
Features #
string -> json array (List)
string -> json object (Map)
List -> stringified json
Map -> stringified json
Getting started #
No prerequisites required
Usage #
// return : stringified json
JsonData.toJsonString({
'hello': 'world',
'list': [
1,
null,
true,
'flutter',
false,
[456, 654],
{
'deep-level': null,
'deeper-level': {'hello': 'world'}
}
]
});
copied to clipboard
// return : Map<String, dynamic>
JsonData.fromJsonString(
'{"hello": "world", "list": [1, null, true, "flutter", false, [456, 654], {"deep-level": null, "deeper-level": {"hello": "world"}}]}')
copied to clipboard
Additional information #
If you have any issue or suggestion contact me via github.
github repository
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.