dynacode 1.0.2 copy "dynacode: ^1.0.2" to clipboard
dynacode: ^1.0.2 copied to clipboard

discontinued

A serialization library for converting dynamic, structured data (JSON, YAML) into Dart types.

example/main.dart

import 'package:dynacode/dynacode.dart';

class Person extends Coding {
  String name;

  @override
  void decode(KeyedArchive object) {
    // must call super
    super.decode(object);

    name = object.decode("name");
  }

  @override
  void encode(KeyedArchive object) {
    object.encode("name", name);
  }
}
0
likes
30
points
202
downloads

Publisher

verified publisheraldrinsartfactory.com

Weekly Downloads

A serialization library for converting dynamic, structured data (JSON, YAML) into Dart types.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (license)

Dependencies

meta

More

Packages that depend on dynacode