Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JSON parser for J2ME

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?

like image 806
Liedman Avatar asked Jun 05 '10 17:06

Liedman


2 Answers

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

like image 162
Liedman Avatar answered Nov 20 '22 02:11

Liedman


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/

like image 24
ZZ Coder Avatar answered Nov 20 '22 03:11

ZZ Coder