json_converters_lite 1.0.3 copy "json_converters_lite: ^1.0.3" to clipboard
json_converters_lite: ^1.0.3 copied to clipboard

Easily convert common Dart data types into a json compatible ones.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased #

1.0.3 #

Changed #

  • Changed DurationConverter to accept strings in format dd:hh:mm:ss.us.

1.0.2+1 #

Added #

  • Added [package:meta][https://pub.dev/packages/meta] annotations to EnumConverter.

1.0.2 #

Fixed #

  • Fixed bug on EnumConverter.

1.0.1 #

Added #

  • Added [package:meta][https://pub.dev/packages/meta] annotations to converters.

Changed #

  • Changed library name.

1.0.0+2 #

Changed #

  • Update License.

1.0.0+1 #

Changed #

  • Minor README changes.

1.0.0 #

Added #

  • Initial Release including 5 converters:
    1. BoolConverter, which converts a bool to an int.
    2. DateTimeConverter, which converts a DateTime to the ISO8601 string.
    3. DurationConverter, which gets a total amount of seconds from Duration.
    4. EnumConverter, which serializes Enum value as string from it's name.
    5. IterableConverter, which takes the other converter as an argument and serializes each value in the Iterable with that converter.
1
likes
140
pub points
0%
popularity

Publisher

unverified uploader

Easily convert common Dart data types into a json compatible ones.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

meta

More

Packages that depend on json_converters_lite