History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XSTR-321
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Assignee: Unassigned
Reporter: Paul Hammant
Votes: 2
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
XStream

JSON Writer for XStream.

Created: 15/Jun/06 12:53 AM   Updated: 28/Jul/06 06:40 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2

File Attachments: 1. Zip Archive xstream-json-patch.zip (9 kb)
2. Zip Archive xstream-json-patch2.zip (12 kb)

Issue Links:
dependent
 


 Description  « Hide
A JSON writer (no reader as yet) for XStream.

Eliminates some redundant braces, quotes for things that do not need them (int, boolean)

It also handles arrays, lists, sets appropriately

Examples from http://www.json.org/example.html used for TestCases.

To support some the the features, 'startNode(String name)' in HierarchicalStreamWriter has a sister method 'startNode(String name, Class clazz)'



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Paul Hammant - 15/Jun/06 10:50 PM
Patch2: Second interface introduced to please Joe.

Mauro Talevi - 22/Jun/06 04:17 AM
Applied patch2

Guilherme Silveira - 28/Jul/06 06:40 PM
resolved but missing docs