Skip to main content

json_factory_runtime_annotation 0.3.0 copy "json_factory_runtime_annotation: ^0.3.0" to clipboard
json_factory_runtime_annotation: ^0.3.0 copied to clipboard

Annotations for json_factory_runtime_generator, a build-time JSON factory generator for json_serializable classes.

0.3.0 #

  • Add @JsonFactoryKey('key'), which goes on the class instead of a field.

0.2.0 #

  • Breaking: the default mixin is now JsonFactoryMixin (was JsonFactoryMapper). JsonFactoryMapper is now the name of the static class generated next to it.
  • Breaking: goes on a final String field instead of a getter: final String factoryKey = 'user';.
  • Can also go on a final enum field. The key is the constant's @JsonValue.

0.1.0 #

  • Initial release.
1
likes
150
points
--
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Annotations for json_factory_runtime_generator, a build-time JSON factory generator for json_serializable classes.

Topics

#json #serialization #codegen #annotations #build-runner

License

MIT (license)

Dependencies

json_annotation

More

Packages that depend on json_factory_runtime_annotation