This is a JSON lexer based on the implementation in json3.
It can split a JSON String into a list of annotated tokens. It will list whitespace
as well, so it can used in-place editing of JSON documents.
Note that this doesn't check the validity of your JSON, so it will tokenize something
like "token"}: happily.