KHARSHAVARDHAN-eng opened a new pull request, #50644: URL: https://github.com/apache/arrow/pull/50644
### Rationale for this change As part of the ongoing migration from RapidJSON to simdjson (GH-35460), migrate `cpp/src/arrow/json/from_string.cc` to use `simdjson::dom`. ### What changes are included? - Replace RapidJSON parsing with `simdjson::dom::parser` and `simdjson::dom::element`. - Remove the remaining RapidJSON dependencies from `from_string.cc`. - Parse standard JSON directly using `simdjson::dom` on the fast-path with zero extra allocations or string copies. - Introduce a lazy fallback sanitization step for legacy non-standard inputs (such as unquoted `NaN`/`Inf` and raw non-UTF-8 binary strings) to preserve the behavior exercised by the existing `from_string` test suite. ### Testing Verified with: ```bash ninja -C cpp/build_bundled arrow-json-test cpp/build_bundled/release/arrow-json-test ``` **Output**: ``` [==========] 244 tests from 61 test suites ran. (239 ms total) [ PASSED ] 244 tests. ``` -- 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]
