zeroshade commented on issue #34292: URL: https://github.com/apache/arrow/issues/34292#issuecomment-1446791648
Hmm, that's a good point. You can override the `MarshalJSON` method, but you're right. It won't cover the case for `RecordToJSON` or for marshalling to JSON from inside a nested type. Exposing the `arrjson` internal pkg wouldn't do anything to help that either. We should modify the `ExtensionArrayBase` struct so that the behavior can be more customizable. Possibly by allowing a way to set a custom JSON marshaller into it. If you think of a good way to implement it, I'll happily review the PR. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
