readJSON from pipeline-utility-steps-plugin swallows keys named 'class'

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • None
    • Environment:

      The readJSON step does not return any key named 'class'

      For example:

      input = '{"class":"example","other":"value"}'
      echo "${input}"
      output = readJSON text: input
      echo "${output}"
      

      Returns:

      [Pipeline] Start of Pipeline
      [Pipeline] echo
      {"class":"example","other":"value"}
      [Pipeline] readJSON
      [Pipeline] echo
      [other:value]
      [Pipeline] End of Pipeline
      

      Is this a reserved keyword? 

            Assignee:
            rsandell
            Reporter:
            Ian Driver
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: