### Describe the enhancement requested `LogicalType::ToJSON()` currently mixes manual JSON string construction with `::arrow::json::JsonWriter`. Refactor it to use `JsonWriter` for building the entire JSON object to improve consistency and maintainability. Parent Issue: #35460 ### Component(s) C++
Describe the enhancement requested
LogicalType::ToJSON()currently mixes manual JSON string construction with::arrow::json::JsonWriter.Refactor it to use
JsonWriterfor building the entire JSON object to improve consistency and maintainability.Parent Issue: #35460
Component(s)
C++