json 0.20.2 copy "json: ^0.20.2" to clipboard
json: ^0.20.2 copied to clipboard

Easy encoding and decoding of JSON maps (maps of type `Map<String, Object?>`). Uses a macro that auto-generates a `fromJson` decoding constructor and a `toJson` encoding method.

0.20.2 #

  • Fix generated code syntax error when defining fields containing the dollar sign $ by using raw strings.
  • Remove vendored package workaround, require ^3.5.0-154 Dart SDK.

0.20.1 #

  • Vendor macro packages as workaround for analyzer issue.

0.20.0 #

  • Initial preview of JSON encoding and decoding with a JsonCodable macro.
60
likes
150
pub points
92%
popularity

Publisher

verified publisherlabs.dart.dev

Easy encoding and decoding of JSON maps (maps of type `Map<String, Object?>`). Uses a macro that auto-generates a `fromJson` decoding constructor and a `toJson` encoding method.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

macros

More

Packages that depend on json