How do I expose data in a JSON format through a web service using Java?

后端 未结 9 1880
攒了一身酷
攒了一身酷 2021-01-30 14:23

Is there an easy way to return data to web service clients in JSON using java? I\'m fine with servlets, spring, etc.

9条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-30 15:02

    I have been using jaxws-json, for providing JSON format web services. you can check the project https://jax-ws-commons.dev.java.net/json/.

    it's a nice project, once you get it up, you'll find out how charming it is.

提交回复
热议问题