def decode(self, s, _w=WHITESPACE.match):
obj, end = self.raw_decode(s, idx=_w(s, <NUM_LIT:0>).end())<EOL>end = _w(s, end).end()<EOL>if end != len(s):<EOL><INDENT>raise ValueError(errmsg("<STR_LIT>", s, end, len(s)))<EOL><DEDENT>return obj<EOL>
Return the Python representation of ``s`` (a ``str`` or ``unicode``
        instance containing a JSON document)