Groovy
  1. Groovy
  2. GROOVY-4988

JsonSlurper fails to correctly parse strings containing some escaped character sequences

    Details

    • Type: Bug Bug
    • Status: 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)

      Description

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

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

        Activity

        Tamás Lengyel created issue -
        Tamás Lengyel made changes -
        Field Original Value New Value
        Attachment bug_script_assert.groovy [ 56683 ]
        Cédric Champeau made changes -
        Assignee Cedric Champeau [ melix ]
        Cédric Champeau made changes -
        Fix Version/s 1.8.4 [ 17852 ]
        Fix Version/s 1.9-beta-5 [ 17925 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Paul King made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12733914 ] Default workflow, editable Closed status [ 12745704 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12971433 ] Default workflow, editable Closed status [ 12979234 ]

          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:

              Development