XStream

JSON Writer for XStream.

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.2
  • Component/s: None
  • Labels:
    None

Description

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)'

Issue Links

Activity

Hide
Paul Hammant added a comment -

Patch2: Second interface introduced to please Joe.

Show
Paul Hammant added a comment - Patch2: Second interface introduced to please Joe.
Hide
Mauro Talevi added a comment -

Applied patch2

Show
Mauro Talevi added a comment - Applied patch2
Hide
Guilherme Silveira added a comment -

resolved but missing docs

Show
Guilherme Silveira added a comment - resolved but missing docs

People

Vote (2)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: