Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-4543

Add JSON string to JsonNode transformer

    Details

      Description

      With Transformers.toJson(JsonObjectMapper<?, ?> jsonObjectMapper, ResultType resultType, String contentType) you can convert a value object to JSON in stringified format, as well as a JsonNode object.

      It would be helpful to have a counterpart of that transformer in a way where a raw JSON (String) could be parsed into a JsonNode without being directly deserialized into a value object.

      I've implement such a transformer in a project I'm working on, but it would be nice if the framework could do this for me. (See the linked GitHub link in the Ref. URL). I'd gladly contribute that if you think it was a good idea and gave me some guidance how that cloud fit with the existing API.

        Attachments

          Activity

            People

            • Assignee:
              abilan Artem Bilan
              Reporter:
              lcsontos László Csontos
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: