A JSON Parser in Swift 3 compliant with RFC 7159
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
STJSON.xcodeproj
STJSON
STJSONTests
.gitignore
LICENSE
README.md

README.md

STJSON

A JSON Parser in Swift 3 compliant with RFC 7159

STJSON was written along with the article Parsing JSON is a Minefield.

Basic usage:

var p = STJSONParser(data: data)

do {
    let o = p.parse()
} catch let e {
    print(e)
}

Instantiation with options:

    var p = STJSON(data:data,
                   maxParserDepth:1024,
                   options:[.useUnicodeReplacementCharacter])