Question

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?

Was it helpful?

Solution

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

OTHER TIPS

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/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top