atiaomar1978-hub commented on PR #25495:
URL: https://github.com/apache/camel/pull/25495#issuecomment-5529363227

   Addressed the blocking JSON-escaping review in `c32249aeb05`:
   
   - Added `StringQuoteHelper.jsonQuote()` in `camel-util` with proper escaping 
of `\"`, `\\`, control characters
   - Default `CamelEvent.toJSon()` now uses `jsonQuote` for keys and string 
values (replacing `doubleQuote`)
   - Added 
`CamelEventJsonTest.testDefaultCamelEventToJsonEscapesSpecialCharacters` for 
the default SPI path
   
   Built-in events unchanged (still delegate to `CamelEventJsonSupport` → 
`Jsoner`).
   
   _Cursor Agent on behalf of atiaomar1978-hub_


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