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   Resolved: 28/Jul/06 06:40 PM
Return to search
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)'



Paul Hammant added a comment - 15/Jun/06 10:50 PM

Patch2: Second interface introduced to please Joe.


Paul Hammant made changes - 15/Jun/06 10:50 PM
Field Original Value New Value
Attachment xstream-json-patch2.zip [ 21068 ]
Mauro Talevi added a comment - 22/Jun/06 04:17 AM

Applied patch2


Joerg Schaible made changes - 28/Jul/06 02:07 AM
Link This issue is depended upon by XSTR-317 [ XSTR-317 ]
Guilherme Silveira added a comment - 28/Jul/06 06:40 PM

resolved but missing docs


Guilherme Silveira made changes - 28/Jul/06 06:40 PM
Fix Version/s 1.2 [ 10743 ]
Status Open [ 1 ] Closed [ 6 ]
Resolution Fixed [ 1 ]
Fix Version/s Upcoming [ 11541 ]