如何解析黑莓/ J2ME JSON响应? [英] How to parse the JSON response in Blackberry/J2ME?
问题描述
我要解析来自JSON格式的服务器来响应。我做了一些谷歌上搜索,但我找不到任何库或jar之类的话。
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.
到处是提供开源$ C $ C作为zip文件。
Everywhere there is provided open source code as zip file.
我怎样才能做到这一点?如果没有可用于黑莓没有瓶子,然后如何使用开源$ C $ C在我的应用程序?
How can i achieve this? if there is no jar available for blackberry then how to use that open source code in my application??
推荐答案
有一个<一个href=\"https://meapplicationdevelopers.dev.java.net/source/browse/meapplicationdevelopers/demobox/mobileajax/lib/json/src/org/json/me/\"相对=nofollow>关于手机和开源的JSON API J2ME嵌入式应用开发项目
<击>您也可以在JSON下载JSON ME(Zip文件)。组织 击>不再支持。但是你可以从这里 得到它。
Also you can download JSON ME (Zip file) at JSON.org not supported anymore. But you can get it from here.
我相信你可以JSON项目src文件夹内容简单地复制到你的黑莓手机项目src文件夹,刷新它在Eclipse包浏览器,并建立它。
I believe you can simply copy content of json project src folder to your Blackberry project src folder, refresh it in eclipse package explorer and build it.
详细信息请参阅:在Java中使用JavaScript对象符号(JSON)的ME数据交换
这篇关于如何解析黑莓/ J2ME JSON响应?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!