Pattern: Use of JSON.load
/JSON.restore
Issue: -
This rule checks for the use of JSON class methods which have potential security issues.
# always offense
JSON.load("{}")
JSON.restore("{}")
# no offense
JSON.parse("{}")
Pattern: Use of JSON.load
/JSON.restore
Issue: -
This rule checks for the use of JSON class methods which have potential security issues.
# always offense
JSON.load("{}")
JSON.restore("{}")
# no offense
JSON.parse("{}")