brick_json_generators 1.0.1+1 brick_json_generators: ^1.0.1+1 copied to clipboard
Code generation library for the JSON-like providers, models, and adapters in Brick
Brick JSON Generators #
Code generator that provides (de)serializing functions for Brick adapters. This package does not produce code. It can be imported into other Brick build or Brick generator domains.
This package should not be imported into an end application as it does not generate code.
Usage #
Use JsonDeserialize
or JsonSerialize
mixins with your own generators:
import 'package:brick_json_generators/json_serdes_generator.dart';
import 'package:brick_json_generators/json_deserialize.dart';
class MyJsonProtocolDeserialize extends JsonSerdesGenerator<MyJsonProtocolModel, MyJsonProtocol> with JsonDeserialize {
}