json_serializer library

This library provides JSON deserialization functionality using a JsonSerializer.

Classes

JsonConverter<T>
Abstract class defining the structure of a generic JSON converter.
JsonSerializer
A class for serializing and deserializing JSON.
JsonSerializerOptions
A class representing options for JSON serialization/deserialization.
UserType<T>
A generic user-defined type class.

Functions

deserialize<T>(String? json) → T
Deserialize JSON into an object of type T.

Exceptions / Errors

JsonDeserializationException
A custom exception class for handling JSON conversion errors.