Closed nst closed 7 years ago
Step to reproduce
Run JSONFromString() with the following Swift string as input:
"[\"\\"
Expected behavior
Since this strings is invalid JSON according to RFC 7159, JSONFromString() should throw an error.
Actual behavior
JSONFromString() does crash.
Fixed by #216.
Step to reproduce
Run JSONFromString() with the following Swift string as input:
Expected behavior
Since this strings is invalid JSON according to RFC 7159, JSONFromString() should throw an error.
Actual behavior
JSONFromString() does crash.