atiaomar1978-hub commented on PR #24995: URL: https://github.com/apache/camel/pull/24995#issuecomment-5038190781
Thanks @gnodet for the review and approval. ### Addressed feedback **[Important] Upgrade guide entry** — done in commit `581501b`. Added a `=== camel-jsonpath` section to `docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc` documenting: - `writeAsString` now correctly serializes single JSON object results (Maps) to a valid JSON `String` - The previous behavior returned a `java.util.Map` with individually stringified values (the CAMEL-24230 bug) - Migration note for routes that split a Map result: use a wildcard expression (e.g. `$.content.*` instead of `$.content`) to obtain a splittable list of JSON strings The PR description has also been updated to reflect this addition. No further code changes were required beyond the original fix and tests. --- _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]
