Skip to content
/ STJSON Public

A JSON Parser in Swift 3 compliant with RFC 7159

License

Notifications You must be signed in to change notification settings

nst/STJSON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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])

About

A JSON Parser in Swift 3 compliant with RFC 7159

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages