Skip to content

kkrugler/jsonwriter

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
lib
 
 
src
 
 
 
 
 
 
 
 
 
 
JSONWriter supports the generation of JSON format text from a Dom4J Document.

This first pass implementation doesn't handle namespaces, is basically
just a quick hack of XMLWriter, has very few JUnit tests (like XMLWriter),
and is almost completely devoid of meaningful comments. It also depends
on Java 5.0, whereas the 1.6.1 source was designed for Java 1.3.

On the plus side, it supports at least my own understanding of the three
JSON formats: Basic Output, RabbitFish and BabbleFish, which are thinly
documented on the following web pages:

 * http://json.org/
 * http://badgerfish.ning.com/
 * http://www.bramstein.nl/xsltjson/

To build, use Ant with the 'jar' target:

 % cd jsonwriter
 % ant clean jar
 
The resulting jar is at build/jsonwriter-1.0-SNAPSHOT.jar

About

Dom4J writer that converts a Document into JSON

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages