Rajkishan Swami
Rajkishan Swami

Reputation: 3769

Changing JSON Provider (Spring / Spring-Boot)

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?

Upvotes: 0

Views: 1324

Answers (1)

rorschach
rorschach

Reputation: 2947

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

Upvotes: 1

Related Questions