J2ME 的 JSON 解析器

发布于 2024-09-04 00:28:38 字数 456 浏览 3 评论 0原文

我需要一个与 J2ME / CLDC 1.1 配合使用的基本 JSON 解析器。

Google 搜索返回了大量关于此问题的答案(有些甚至在 stackoverflow 上),但似乎所有答案都指向不再可用的库和解决方案(例如,很多都指向应该位于 json.org 上的实现)站点,但至少我找不到任何不属于 J2SE 的东西)。

到目前为止,我最大的希望是这里链接的来源: https://meapplicationdevelopers.dev.java.net/ mobileajax.html,但从那里我什至找不到一种直接的方法来下载代码。

考虑到 Java 在所有其他方面的成熟状态,我肯定可以在某个地方获得预编译的 JAR 以用于从 J2ME 解析 JSON?

I need a basic JSON parser that works with J2ME / CLDC 1.1.

A Google search returns tons of answers on this (some even on stackoverflow), but it appears that all point to libraries and solutions that are no longer available (for example, lots point to an implementation that is supposed to be on the json.org site, but at least I can't find anything that isn't J2SE only there).

My best hope so far is the source linked here: https://meapplicationdevelopers.dev.java.net/mobileajax.html, but from that one I can't even find a straight forward way to download the code.

Given the mature state of Java in all other aspects, surely there must be somewhere I can get a pre-compiled JAR to use for parsing JSON from J2ME?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

裸钻 2024-09-11 00:28:38

从 ZZ Coder 获得接受的答案后,我下载了链接的代码并从中构建了一个 JAR。

因此,如果您需要用于 J2ME/CLDC 的已编译 JSON 序列化器/反序列化器,您可以在此处找到源代码: https://bitbucket.org/liedman/json-me

After getting the accepted answer from ZZ Coder, I downloaded the linked code and built a JAR from it.

So in case you need a compiled JSON serializer/deserializer for J2ME/CLDC, you can find the source code here: https://bitbucket.org/liedman/json-me

淡墨 2024-09-11 00:28:38

J2ME 有一个 org.json 解析器,但我不记得原始链接了。您可以在此处获取源代码:

http://grt192。 googlecode.com/svn/trunk/CannonBot/src/org/json/me/

There is an org.json parser for J2ME but I can't remember the original link. You can get the source code here,

http://grt192.googlecode.com/svn/trunk/CannonBot/src/org/json/me/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文