dartson 1.0.0-alpha+3 copy "dartson: ^1.0.0-alpha+3" to clipboard
dartson: ^1.0.0-alpha+3 copied to clipboard

outdated

Dartson is a Dart library that can be used to serialize Dart objects into a JSON string and vice versa. It uses the new builder infrastructure.

example/lib/example.dart

import 'serializer.dart';

void main() {
  print(serializer.encode(MyClass()..name = 'test'));
  print(serializer.decode<MyClass>('{"name":"test"}').name);
}
0
likes
40
pub points
25%
popularity

Publisher

unverified uploader

Dartson is a Dart library that can be used to serialize Dart objects into a JSON string and vice versa. It uses the new builder infrastructure.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

analyzer, build, build_config, code_builder, dart_style, json_serializable, meta, source_gen

More

Packages that depend on dartson