carp_serializable library
Classes
- FromJsonFactory
- A factory that holds fromJson functions to be used in JSON deserialization.
- Serializable
- This is the base class for all JSON serializable objects.
- Uuid
- A Universal Unique ID (UUID) generator.
Functions
-
toJsonString(
Object? object) → String -
Converts
object
to a formatted JSON String.
Exceptions / Errors
- SerializationException
- Throws when serialization to/from json fails.