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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • 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
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: