dartson 1.0.0-alpha+2 copy "dartson: ^1.0.0-alpha+2" to clipboard
dartson: ^1.0.0-alpha+2 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
0
points
78
downloads

Publisher

unverified uploader

Weekly Downloads

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

unknown (license)

Dependencies

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

More

Packages that depend on dartson