paleolimbot commented on issue #2212:
URL: https://github.com/apache/arrow-adbc/issues/2212#issuecomment-2400719494

   > Alternatively, is there a JSON library light enough that we could embed it 
and not worry about the dependency?
   
   I have never had problems with nlohmann_json in nanoarrow 
(https://github.com/nlohmann/json), although we might not need it provided we 
can use `to_chars()` for locale-independent floating-point-to-string conversion 
(strings require escaping and binary require some special handling: 
https://github.com/apache/arrow-nanoarrow/blob/7c1fb36029a92ee039d2235be07c70d8726b2a7f/src/nanoarrow/testing/testing.cc#L54-L69
 )
   
   > Does [json_array](https://www.sqlite.org/json1.html#jarray) solve the 
serialization problem?
   
   I suppose we could generate a query with parameters like `SELECT 
json_array(?, ?, ?, ?)`, bind the values, and grab the result? Unless 
`json_array()` is in the C 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