Parses the buffer for an object key and generates a token startKey. Or if the object ended generates endObject token.
startKey
endObject
Parses the buffer for an object key and generates a token
startKey. Or if the object ended generatesendObjecttoken.