XStream
  1. XStream
  2. XSTR-357

json stuff handles quotes badly

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.1
    • Component/s: None
    • Labels:
      None

      Description

      XStream xstream = new XStream(new JsonHierarchicalStreamDriver());
      System.out.println(xstream.toXML("\"I'm in quotes\" is here"));

      is messed up. (can't be parsed by JS) problem is JsonHierarchicalStreamWriter.writeText method doesnt handle quotes well.

        People

        • Assignee:
          Unassigned
          Reporter:
          Bob Herrmann
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: