0

Is it possible to use Jettison with Spring / Spring-Boot instead of default JSON Provider Jackson? I have one such requirement to match Json output with an very old project which used Jettison.

If yes, can i get some pointers/hints please?

Rajkishan Swami
  • 3,569
  • 10
  • 48
  • 68

1 Answers1

1

It's possible but you're going to be doing a lot of hacking and writing boiler-plate configuration code as Jackson is embedded pretty deep inside Spring.

It might be easier for you to leverage Jackson's functionality to serialize/deserialize your data in the format you need (instead of the format Jackson silently provides)?

rorschach
  • 2,871
  • 1
  • 17
  • 20
  • Tried the jackson way, but there are some issues with elements with properties. They both represent them differently. And also everything shows as strings in jettison, while in jackson, types are different. – Rajkishan Swami Sep 14 '16 at 08:34