json_util

Last updated:

0 purchases

json_util Image
json_util Images
Add to Cart

Description:

json util

json_util #
Type-safe JSON-encoding and JSON-decoding utilities for Dart.
Usage #
A simple usage example:
import 'package:json_util/json_util.dart';

void main() {
const myJson = '{"hello":"world"}';
final decodedValue = DecodedValue.from(myJson);
final map = decodedValue.asMap();
final encodableValue = EncodableValue.map(map);
final yourJson = encodableValue.encode();
print(myJson == yourJson); // true
}
copied to clipboard
Available components: #

EncodableValue
DecodedValue

Features and bugs #
Please file feature requests and bugs at the issue tracker.

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.