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)'
- 
                                            Hide- xstream-json-patch2.zip
- 12 kB
- Paul Hammant
- 
                                        - src/.DS_Store 6 kB
- src/java/com/.../xstream/io/.DS_Store 6 kB
- src/.../ExtendedHierarchicalStreamWriter.java 0.3 kB
- src/.../ExtendedHierarchicalStreamWriterHelper.java 0.4 kB
- src/java/com/.../io/json/.DS_Store 6 kB
- src/.../JsonHierarchicalStreamDriver.java 0.9 kB
- src/.../JsonHierarchicalStreamWriter.java 5 kB
- src/test/com/.../io/json/.DS_Store 6 kB
- src/.../JsonHierarchicalStreamDriverTest.java 9 kB
- xstream-json-writer.patch 22 kB
 
 
Issue Links
- is depended upon by
- 
             XSTR-317
        XStream 1.2 release coordination. XSTR-317
        XStream 1.2 release coordination.
-         
Activity
Applied patch2
            Show
            
                        
    
    
    
                
     Mauro Talevi
 added a comment  -                     Applied patch2
 Mauro Talevi
 added a comment  -                     Applied patch2              
        
     Mauro Talevi
 added a comment  -                     Applied patch2
 Mauro Talevi
 added a comment  -                     Applied patch2              resolved but missing docs
            Show
            
                        
    
    
    
                
     Guilherme Silveira
 added a comment  -                     resolved but missing docs
 Guilherme Silveira
 added a comment  -                     resolved but missing docs              
        
     Guilherme Silveira
 added a comment  -                     resolved but missing docs
 Guilherme Silveira
 added a comment  -                     resolved but missing docs              
 
                                     
                                                             
                                                             
                                                            

Patch2: Second interface introduced to please Joe.