Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-4988

JsonSlurper fails to correctly parse strings containing some escaped character sequences

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.1
    • 1.8.4, 2.0-beta-1
    • JSON
    • None
    • 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.

      Attachments

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

        Activity

          People

            melix Cédric Champeau
            ltpcsucs Tamás Lengyel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: