Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 465 Bytes

File metadata and controls

26 lines (16 loc) · 465 Bytes

Bad Parser

Bad Parser is a terrible JSON parser and tokenizer written in Swift. It probably shouldn't be used, but here it is anyway.

Usage

Parsing JSON

import BadParser

let jsonString = "{ \"name\": \"John\" }"
let nodes = BadParser().parse(jsonString)

Tokenizing JSON

import BadParser

let tokens = BadTokenizer().tokenize(jsonString)

License

Bad Parser is available under the MIT license. Use at your own risk.