Skip to content

Simplify the process of converting Dart objects to JSON and vice versa, making it easier to work with JSON data in Dart applications.

License

Notifications You must be signed in to change notification settings

landamessenger/object

Folders and files

NameName
Last commit message
Last commit date

Latest commit

35c13c8 · Oct 6, 2024

History

44 Commits
Oct 6, 2024
Oct 1, 2024
Oct 1, 2024
Oct 1, 2024
Oct 1, 2024
Oct 1, 2024
Oct 6, 2024
Jan 24, 2024
Jan 30, 2024
Oct 1, 2024
Oct 6, 2024

Repository files navigation

Object

Pub Version Build Status Coverage Status

The object library provides utilities for serializing and deserializing Dart objects to and from JSON format. This library simplifies the process of converting Dart objects to JSON and vice versa, making it easier to work with JSON data in Dart applications.

Features

  • Automatic generation of serialization code for Dart classes using annotations.
  • Support for serializing and deserializing JSON data with minimal boilerplate code.
  • Customizable serialization behavior through annotations and configuration options.
  • Compatibility with popular Dart frameworks and tools, including Flutter.

Working with instances never was easiest.

SimpleSample? sample = {
  'id': 'id',
  'numberContent': 1,
  'integerContent': 2,
  'doubleContent': 3.0,
  'stringContent': 'string',
  'booleanContent': true,
}.asNullableInstance();

- Generate Serialization Code

- Create new instances

- Create a list of instances

- Create a map of instances

- Other types of instances

- Conversion safety

About

Simplify the process of converting Dart objects to JSON and vice versa, making it easier to work with JSON data in Dart applications.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published