Parsing JSON on google app engine (java)

前端 未结 4 887
[愿得一人]
[愿得一人] 2021-02-08 13:38

i use org.json library to work with JSON-data in my apps. But it seems that google app engine doesn\'t allow to use it, what\'s the best way to work with JSON o

4条回答
  •  无人及你
    2021-02-08 14:18

    Use fast JSON is a very productive API. Jackson take too much code.

    http://code.alibabatech.com/wiki/display/FastJSON/Home

    https://github.com/alibaba/fastjson

    Just copy the library into WEB-INF/lib folder and use the static methods of com.alibaba.fastjson.JSON like JSON.toJSONString(object)

提交回复
热议问题