json_util 0.5.1

Dart native js
Flutter Android iOS web

Type-safe JSON-encoding and JSON-decoding utilities for Dart.

json_util Build Coverage #

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
}

Available components: #

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
100
pub points
73%
popularity

Type-safe JSON-encoding and JSON-decoding utilities for Dart.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

parsodyl@gmail.com

License

MIT (LICENSE)

More

Packages that depend on json_util