dartson 1.0.0-alpha+2 dartson: ^1.0.0-alpha+2 copied to clipboard
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.
import 'serializer.dart';
void main() {
print(serializer.encode(MyClass()..name = 'test'));
print(serializer.decode<MyClass>('{"name":"test"}').name);
}