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

Key: XSTR-391
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Assignee: Unassigned
Reporter: Dejan Bosanac
Votes: 0
Watchers: 1
Operations

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

Jettison driver - serialization to JSON and back

Created: 23/Apr/07 04:51 AM   Updated: 24/May/07 12:38 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2.2

File Attachments: 1. Text File jettison.patch (9 kb)
2. Text File xstream-jettison.txt (10 kb)



 Description  « Hide
The submitted patch includes Jettison driver that enables object serialization to and from JSON. I'm willing to write appropriate documentation once the patch is applied to the code base.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Paul Hammant - 24/Apr/07 07:39 AM
Patch changed to be Java 1.3 compatible.

Joerg Schaible - 30/Apr/07 08:30 AM
Applied with some minor changes:
- I took Paul's patch set for JDK 1.3 compatibility (although it still did not compile yet)
- the name of the driver has changed, since Jettison does support different drivers itself
- since this implementation is about JSON it was moved into the json package.

You may try a version from subversion to test it out if it still matches your needs and give report.

Thanks for constribution!

- Jörg

Dejan Bosanac - 04/May/07 08:03 AM
Everything looks fine ... Thanks ...

What do you propose as the best way to document this. Maybe we could create a separate page that will document all drivers (similar to one with converters)? Or is it better to just extend 'architecture' page?

Joerg Schaible - 11/May/07 02:38 PM
Hi Dejan,

any kind of documentation is welcome. I'd currently prefer a simple tutorial for the usage of the JettisonDriver to read/write JSON. A simple HTML file do, see http://fisheye.codehaus.org/browse/xstream/trunk/xstream-distribution/src/content for examples. You may attach it to XSTR-329 the open issue for the JSON docs ;-)

Thanks a lot!
Jörg

Dejan Bosanac - 21/May/07 08:59 AM
Introductory tutorial attached to the <a href="http://jira.codehaus.org/browse/XSTR-329">XSTR-329</a> issue. Any comments are welcome.

Cheers,
Dejan

Joerg Schaible - 21/May/07 05:19 PM
Thanks a lot! That was quite on time for the release! :)
- Jörg