Marshall/Unmarshall a JSON to a Java class using JAXB

前端 未结 3 1086
夕颜
夕颜 2020-12-11 11:42

I am successfully marshaling a POJO into JSON using JAX-RS and JAXB annotations.

The problem is that when I am trying to use the same for un-marshalling my request i

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-11 12:18

    I've been working with Apache Wink and for that I have needed to use a JSON provider, such as Jettison (a colleague has been using Jackson). I wrote up the steps I took here

    My guess is that you too will need to to use a JSON provider. Is there a reason not to use a Jackson provider?

提交回复
热议问题