json_annotation 0.2.5 copy "json_annotation: ^0.2.5" to clipboard
json_annotation: ^0.2.5 copied to clipboard

outdatedDart 1 only

Classes and helper functions that support JSON code generation via the `json_serializable` package.

0.2.5 #

  • Added CheckedFromJsonException which is thrown by code generated when checked is enabled in json_serializable.

  • Added functions to support the checked generation option. These functions start with $ are referenced by generated code. They are not meant for direct use.

0.2.4 #

  • Added fromJson and toJson fields to JsonKey class.

0.2.3 #

  • Added ignore field to JsonKey class annotation

0.2.2 #

  • Added a helper class – $JsonMapWrapper – and helper functions – $wrapMap, $wrapMapHandleNull, $wrapList, and $wrapListHandleNull – to support the useWrappers option added to JsonSerializableGenerator in v0.3.0 of package:json_serializable.

0.2.1 #

  • JsonSerializable class annotation
    • Added nullable field.
    • Fixed doc comment.

0.2.0 #

  • Moved annotation classes for JsonSerializable and JsonLiteral.
1026
likes
0
pub points
100%
popularity

Publisher

verified publishergoogle.dev

Classes and helper functions that support JSON code generation via the `json_serializable` package.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on json_annotation