This method will parse a JSON object from the passed lexer object. It takes
a lexer object which is about to read a JSON object. It raises a runtime
error otherwise. It returns the original JSON object. This method probably
shouldn’t be used directly.
Parameters