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

        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 -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.9-beta-5 [ 17925 ]
        Fix Version/s 1.8.4 [ 17852 ]
        Resolution Fixed [ 1 ]
        Paul King made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          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: