TouchCode - JSON, XML parsers and more for iPhone

TouchCode is a repository of iPhone and iPod Touch source code, including TouchJSON, TouchXML and more:

TouchJSON is parser and generator for JSON implemented in Objective C.

TouchXML is a lightweight replacement for Cocoa’s NSXML cluster of classes. It is based on the commonly available Open Source libxml2 library.

TouchHTTPD is a Cocoa HTTP server designed to be embedded in Cocoa applications.

kXML-RPC

kXML-RPC is a J2ME implementation of the XML-RPC protocol built on top of the kXML parser. kXML-RPC empowers J2ME devices with an extremely lightweight mechanism for exchanging data and invoking web services in a neutral, standardized XML format.

kSOAP

kSOAP is a lightweight and efficient SOAP engine suitable for J2ME or constrained Java devices.
Related Articles:
[xml.com]:
Low Bandwidth SOAP
[IBM Developer Works]:
Deliver Web services to mobile apps
[sys-con.com]:
Mobile Web Services with kSOAP

NanoXML

NanoXML is a small XML parser for Java. NanoXML comes in three different components:

  • NanoXML/Java - The standard parser for Java.
  • NanoXML/SAX - A SAX adapter for NanoXML/Java.
  • NanoXML/Lite - An extremely small (6KB) XML parser which is the successor of NanoXML 1. It only provides a limited functionality: no mixed content and the DTD is ignored.

NanoXML is distributed under the zlib/libpng license.

Woodstox - the Fast XML processor

Woodstox (aka WoodSToX aka wstx) is an Open Source XML-processor written in Java which implements StAX API (version 1.0). StAX specifies interface for standardJ2ME “pull-parsers” (as opposed to “push parser” like SAX API ones); at high-level StAX specifies 2 types (iterator and event based) of readers and writers that are used to read and write XML documents.

kXML

kXML is a small XML pull parser, specially designed for constrained environments such as Applets, Personal Java or MIDP devices. kXML 2 is based on the common XMLPull API. It features cursor API instead of event objects, leading to a reduced footprint and less object creation overhead. kXML 3 will split the parser and API support available in versions for both, XmlPull and StAX.

kXML also supports WBXML (WAP binary encoded XML), which allows to parse WAP or Wireless Village content.

Related Articles:
[IBM Developer Works]:
Using kXML to Access XML Files on J2ME Devices
[DevX]:
KXML: A Great Find for XML Parsing in J2ME

Thinlet

Thinlet is a GUI toolkit, a single Java class, parses the hierarchy and properties of the GUI, handles user interaction, and calls business logic. Separates the graphic presentation (described in an XML file) and the application methods (written as Java code).

Thinlet runs with Java 1.1 to 1.4, Personal Java, and Personal (Basis) Profile. Its MIDP version was dropped, but you still can find the last MIDP version at Thinlet Download page.

Related Links:
xthinlet: ScriptableThinlet and ObjectWrapperThinlet
Theodore: XUL Editor for Thinlet