How to parse the JSON response in Blackberry/J2ME?

前端 未结 6 714
广开言路
广开言路 2020-12-01 16:46

I want to parse the response coming from the server in JSON format. I have done some googling but i can\'t find any library or jar kind of thing.

Everywhere there is

6条回答
  •  一整个雨季
    2020-12-01 17:27

    You can also try :

    http://pensivemode.fileave.com/verified_json.jar

    I was also looking for a jar version of json (to link along my lib) :

    https://radheshg.wordpress.com/tag/json/

    but it seems not portable :

    Building example
    C:\Program Files (x86)\Research In Motion\BlackBerry JDE 4.5.0\bin\rapc.exe  -quiet  import="C:\Program Files (x86)\Research In Motion\BlackBerry JDE 4.5.0\lib\net_rim_api.jar";lib\${PROJECT}.jar;lib\json.jar codename=example\example example\example.rapc warnkey=0x52424200;0x52525400;0x52435200 Y:\src\${PROJECT}-java.git\example\src\mypackage\MyApp.java Y:\src\${PROJECT}-java.git\example\src\mypackage\MyScreen.java
    tmp3139/org/json/me/JSONArray.class: Error!: Invalid class file: Incorrect classfile version
    Error while building project
    

    http://supportforums.blackberry.com/t5/Java-Development/JSON-library/m-p/573687#M117982

提交回复
热议问题