Details

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

      Description

      Using JQuery on the browser side in conjunction with GET or POST operations, the root var name is typlically 'data'. If you serialized a simpl String through XStream with the JSON driver, you'd be given

      { string : "foo " }

      or similar.

      In the JavaScript in the browser, you'd address that as ...

         alert( data.string );  
      

      It would be nice to address it simply as ...

        alert(data);
      

      Can we have a switch on the Json Driver : noRootNode(true); ?

        Issue Links

          People

          • Assignee:
            Jörg Schaible
            Reporter:
            Paul Hammant
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: