Skip to content

Support custom decoders in the JSON reader (DecoderFactory, reader counterpart of EncoderFactory) #10739

Closed

Description

@alamb

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

The JSON writer has been extensible since this PR:

Specifically EncoderFactory lets users override how a type is encoded, or add encodings for types the writer doesn't handle. The reader has no equivalent — the decoder dispatch is hardwired, so custom decoding (e.g. reading Binary from something other than the default hex string, or decoding extension types such as Variant, as tracked #8987) requires forking the reader.

Describe the solution you'd like

A reader-side counterpart to EncoderFactory:

Describe alternatives you've considered

Pre/post-processing batches with arrow_cast (works only for representations expressible as another Arrow type round-trip) or maintaining a forked reader.

Additional context

Activity

  1. added
    enhancement
    on Aug 18, 2026
  2. hareshkh commented on Aug 19, 2026

    @hareshkh
    Contributor

    take

  3. added a commit that references this issue on Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions