Complex sentence: However, its design as a non-strict subset of the JavaScript scripting language lead many people to believe it was safe to pass JSON strings to the JavaScript function, despite the fact that certain valid JSON strings are actually not valid JavaScript code.
Split into simpler sentences: However, its design as a non-strict subset of the JavaScript scripting language can lead to the misconception that it is safe to pass JSON strings to the JavaScript function. This is not safe, due to the fact that certain valid JSON strings are actually not valid JavaScript code.