carp_serializable
Polymorphic JSON serialization based on json_serializable annotations.
3.0.0
145K downloads/mo
#971 most downloaded on pub.dev
cph-cachet/carp.sensing-flutter
What this package is like to depend on
Last release 12 days ago
12 Aug 2026
Ships fairly regularly
a new release about every 7 months
Most releases are documented
notes for 6 of 7 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
7 releases · first in 2022
1 release in the last 12 months
see the full history below
Release timeline
7 releases · Aug 2022 to Aug 2026
2023
2024
2025
2026
Releases
latest 7-
3.0.012 Aug 2026Release notes
Open source →- BREAKING replaced the built-in
Uuidclass with the uuid package, which is now re-exported- the old generator seeded a
RandomwithDateTime.now().microsecond— the sub-millisecond component (0-999), not a point in time. Being deterministic, it could only ever emit 1000 distinct ids on any device in any run, so ids collided heavily once more than a handful were generated - ids are now generated with
v4()(random) rather thanv1()(time- and MAC-based), so they no longer embed device identity or creation time - migration:
Uuid().v1(getter) becomesconst Uuid().v4()(method)
- the old generator seeded a
- BREAKING replaced the built-in
-
2.0.102 Apr 2025 -
2.0.022 Sep 2024Release notes
Open source →- type safe annotation in class factor method, like this;
FromJsonFactory().fromJson<A>(json) - graceful handling of errors when a non-known JSON type is encountered by allowing for a "notAvailable" parameter to the fromJson factory method, like this;
FromJsonFactory().fromJson<B>(json, notAvailable: B(-1)) - refactor of universal unique IDs (UUIDs) to using the
Uuid().v1construct - extending unit test coverage (incl., e.g. exceptions)
- improvement to examples in the
example.dartfile and documentation in the API doc and README
- type safe annotation in class factor method, like this;
-
1.2.001 May 2024Release notes
Open source →- added support for generating universal unique IDs (UUIDs) via the
UUID.v1construct
- added support for generating universal unique IDs (UUIDs) via the
-
1.1.124 Nov 2023Release notes
Open source →- Dart type annotation in json is changed from
$typeto__typesince there were conflict in the Javascript world. This also follows the CARP Core serialization approach. - fix of linter errors
- Dart type annotation in json is changed from
-
1.1.015 Mar 2023Nothing published for this version
-
1.0.009 Aug 2022