Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: pipeline-utility-steps-plugin
-
Labels:None
-
Similar Issues:
Description
The documentation of readJson suggests that readJson returns plain Java objects (like readYaml does), but they are of type net.sf.json.JSON and some members of that are not whitelisted, so it is painful to work with...
readJSON uses json library released last time 8 years ago - which in IT world means abandoned software
Why groovy.json.JsonParser is not used?
https://stackoverflow.com/questions/19424490/a-not-null-string-with-literal-value-null-not-handled-correctly-bug-in-json
no answer for that - but readJSON is impacted for example it treats JSON value null as "null" string
People recommending abandoning json-lib 5 years ago