Skip to content

[Variant] Allow configurable JSON format for specialized types #8605

@friendlymatthew

Description

@friendlymatthew

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAny new improvement worthy of a entry in the changelog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions