endocrimes / Jay

Pure-Swift JSON parser & formatter. Fully streamable input and output. Linux & OS X ready. Replacement for NSJSONSerialization.
MIT License
132 stars 19 forks source link

Investigate better way to detect/validate passed-in JSON object #8

Closed czechboy0 closed 8 years ago

czechboy0 commented 8 years ago

Interesting approach with Mirrors: https://github.com/IBM-Swift/SwiftyJSON/blob/master/Source/LclJSONSerialization.swift Or even better here: https://github.com/kylef/Stencil/commit/070a82cb2de8f7384b82c1087c8bc660265a59ba