# disallow the JSON class (es/no-json)

This rule reports ES5 JSON class as errors.

# Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-json: error */ var obj = JSON.parse(text) var str = JSON.stringify(data)
Now loading...

# 📚 References