boot_serialization 0.1.1+7 copy "boot_serialization: ^0.1.1+7" to clipboard
boot_serialization: ^0.1.1+7 copied to clipboard

Serialization annotations for Boot (@Serdeable).

boot_serialization #

Serialization annotations for the Boot Framework.

Features #

  • @Serdeable() — generates both toJson() and $FromJson()
  • @Serializable() — generates toJson() only
  • @Deserializable() — generates $FromJson() only

Usage #

@Serdeable()
class User {
  final String name;
  final int age;
  User({required this.name, required this.age});
}
// Generates: extension $UserSerialization on User { Map toJson() => ... }
// Generates: User $UserFromJson(Map json) => ...
0
likes
140
points
5
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Serialization annotations for Boot (@Serdeable).

Repository (GitHub)
View/report issues

Topics

#boot #serialization #json #codegen

License

MIT (license)

Dependencies

boot_core

More

Packages that depend on boot_serialization