You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support custom decoders in the JSON reader (DecoderFactory, reader counterpart of EncoderFactory) #10739
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
A public DecoderFactory trait consulted before the reader's default dispatch (Ok(None) accepts the default)
Registered via ReaderBuilder::with_decoder_factory
Pre/post-processing batches with arrow_cast (works only for representations expressible as another Arrow type round-trip) or maintaining a forked reader.
Activity
hareshkh commentedon Aug 19, 2026
take
Json decoder factory (apache#10670)
Json decoder factory (apache#10670)
Json decoder factory (apache#10670)