zwjson_serializable 0.0.1 copy "zwjson_serializable: ^0.0.1" to clipboard
zwjson_serializable: ^0.0.1 copied to clipboard

outdated

修改了 json_serializable 的代码让生成的 fromjson,tojson名字固定下来,不要加类名的前缀

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add zwjson_serializable

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  zwjson_serializable: ^0.0.1

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:zwjson_serializable/builder.dart';
import 'package:zwjson_serializable/json_serializable.dart';
import 'package:zwjson_serializable/type_helper.dart';
0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

修改了 json_serializable 的代码让生成的 fromjson,tojson名字固定下来,不要加类名的前缀

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

analyzer, build, build_config, json_annotation, meta, path, source_gen

More

Packages that depend on zwjson_serializable