json_types 2.0.1+1 copy "json_types: ^2.0.1+1" to clipboard
json_types: ^2.0.1+1 copied to clipboard

discontinuedreplaced by: parse_json
outdated

Type safe JSON serialization/deserialization for Dart with no code generation or reflection.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add json_types

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

dependencies:
  json_types: ^2.0.1+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:json_types/json.dart';
import 'package:json_types/json_polymorphic.dart';
import 'package:json_types/keys/keys.dart';
import 'package:json_types/keys/private.dart';
import 'package:json_types/keys/public.dart';
import 'package:json_types/lists/json_list.dart';
import 'package:json_types/lists/private.dart';
import 'package:json_types/lists/public.dart';
import 'package:json_types/maps/json_map.dart';
import 'package:json_types/maps/private.dart';
import 'package:json_types/maps/public.dart';
import 'package:json_types/primitives/json_primitive.dart';
import 'package:json_types/primitives/private.dart';
import 'package:json_types/primitives/public.dart';
4
likes
0
points
19
downloads

Publisher

verified publisherjohn-siegel.com

Weekly Downloads

Type safe JSON serialization/deserialization for Dart with no code generation or reflection.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

equatable

More

Packages that depend on json_types