Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Currently, the JSON read/write methods enforce a fixed mapping for specialized variant types. For instance, timestamps are always serialized as JSON strings.
Describe the solution you'd like
To make this more flexible, it should be possible to pass an optional format configuration that allows users to control how specialized types (like timestamps or UUIDs) are serialized/deserialized.
Additional context
This feature is motivated by datafusion-variant, a higher-level library that integrates with Datafusion through a series of udfs
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Currently, the JSON read/write methods enforce a fixed mapping for specialized variant types. For instance, timestamps are always serialized as JSON strings.
Describe the solution you'd like
To make this more flexible, it should be possible to pass an optional format configuration that allows users to control how specialized types (like timestamps or UUIDs) are serialized/deserialized.
Additional context
This feature is motivated by datafusion-variant, a higher-level library that integrates with Datafusion through a series of udfs