stenlarsson opened a new pull request, #48812:
URL: https://github.com/apache/arrow/pull/48812

   ### Rationale for this change
   
   Arrow currently supports JSON reading in C++, but it currently lacks an 
equivalent JSON writer. This means users are suffer marshalling overhead when 
writing JSON through languages such as Python.
   
   ### What changes are included in this PR?
   
   This implements a writer for line-delimited JSON, and the API is based on 
the CSV writer.
   
   It is implemented using the `RowBatchBuilder` from the 
`cpp/examples/arrow/rapidjson_row_converter.cc` example, with some improvements:
   
   1. Date and time types are supported and written as numbers.
   2. Optionally emits nulls.
   
   There are no bindings for other languages implemented yet.
   
   ### Are these changes tested?
   
   Yes, with C++ unit tests.
   
   There are also a few benchmarks based on the CSV writer benchmarks.
   
   ### Are there any user-facing changes?
   
   Yes, a new JSON writer API.


-- 
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]

Reply via email to