rok commented on PR #50781: URL: https://github.com/apache/arrow/pull/50781#issuecomment-5168160672
As per [docs here](https://github.com/simdjson/simdjson/blob/master/doc/basics.md#raw-json-string-for-objects-and-arrays) you could probably use the `.reset()` in case you don't get desired CRS fields. ```cpp // Inspect crs_object... // If it was not a recognized lon/lat CRS: ARROW_ASSIGN_OR_RAISE( auto ignored, ::arrow::internal::GetSimdjsonResult( crs_object.reset(), "Failed to reset 'crs' object: ")); ARROW_ASSIGN_OR_RAISE( auto raw_crs, ::arrow::internal::GetSimdjsonResult( crs_object.raw_json(), "Failed to get raw 'crs' JSON: ")); return std::string(raw_crs); ``` -- 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]
