XStream
  1. XStream
  2. XSTR-391

Jettison driver - serialization to JSON and back

    Details

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

      Description

      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.

      1. jettison.patch
        9 kB
        Paul Hammant
      2. xstream-jettison.txt
        10 kB
        Dejan Bosanac

        Activity

        Hide
        Paul Hammant added a comment -

        Patch changed to be Java 1.3 compatible.

        Show
        Paul Hammant added a comment - Patch changed to be Java 1.3 compatible.
        Hide
        Jörg Schaible added a comment -

        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
        Show
        Jörg Schaible added a comment - 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
        Hide
        Dejan Bosanac added a comment -

        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?

        Show
        Dejan Bosanac added a comment - 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?
        Hide
        Jörg Schaible added a comment -

        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

        Show
        Jörg Schaible added a comment - 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
        Hide
        Dejan Bosanac added a comment -

        Introductory tutorial attached to the <a href="http://jira.codehaus.org/browse/XSTR-329">XSTR-329</a> issue. Any comments are welcome.

        Cheers,
        Dejan

        Show
        Dejan Bosanac added a comment - Introductory tutorial attached to the <a href="http://jira.codehaus.org/browse/XSTR-329"> XSTR-329 </a> issue. Any comments are welcome. Cheers, Dejan
        Hide
        Jörg Schaible added a comment -

        Thanks a lot! That was quite on time for the release!

        • Jörg
        Show
        Jörg Schaible added a comment - Thanks a lot! That was quite on time for the release! Jörg

          People

          • Assignee:
            Unassigned
            Reporter:
            Dejan Bosanac
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: