groovy
  1. groovy
  2. GROOVY-4988

JsonSlurper fails to correctly parse strings containing some escaped character sequences

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.8.4, 2.0-beta-1
    • Component/s: JSON
    • Labels:
      None
    • Environment:
      Windows 7 x32 (intel)/Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
    • Number of attachments :
      2

      Description

      It seems JsonSlurper does not successfully parse serialized objects that originally contain character sequences like \n \t etc.

      1. bug_script_assert.groovy
        0.3 kB
        Tamás Lengyel
      2. bug_script.groovy
        0.3 kB
        Tamás Lengyel

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Cédric Champeau
            Reporter:
            Tamás Lengyel
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: