This repository has been archived by the owner. It is now read-only.

JSONFromString() does crash on certain inputs. #206

nst opened this Issue Sep 7, 2016 · 1 comment


None yet
2 participants

nst commented Sep 7, 2016

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.


This comment has been minimized.

Show comment
Hide comment

jgallagher Jan 18, 2017


Fixed by #216.


jgallagher commented Jan 18, 2017

Fixed by #216.

@jgallagher jgallagher closed this Jan 18, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.