diff --git a/stubs/simplejson/METADATA.toml b/stubs/simplejson/METADATA.toml index 31f638bf3..7a888dfdf 100644 --- a/stubs/simplejson/METADATA.toml +++ b/stubs/simplejson/METADATA.toml @@ -1,2 +1,2 @@ -version = "0.1" +version = "3.17" python2 = true diff --git a/stubs/simplejson/simplejson/__init__.pyi b/stubs/simplejson/simplejson/__init__.pyi index 19ba570f6..798a77062 100644 --- a/stubs/simplejson/simplejson/__init__.pyi +++ b/stubs/simplejson/simplejson/__init__.pyi @@ -2,6 +2,7 @@ from typing import IO, Any, Text, Union from simplejson.decoder import JSONDecoder as JSONDecoder from simplejson.encoder import JSONEncoder as JSONEncoder, JSONEncoderForHTML as JSONEncoderForHTML +from simplejson.raw_json import RawJSON as RawJSON from simplejson.scanner import JSONDecodeError as JSONDecodeError _LoadsString = Union[Text, bytes, bytearray] diff --git a/stubs/simplejson/simplejson/raw_json.pyi b/stubs/simplejson/simplejson/raw_json.pyi new file mode 100644 index 000000000..25976ea00 --- /dev/null +++ b/stubs/simplejson/simplejson/raw_json.pyi @@ -0,0 +1,3 @@ +class RawJSON(object): + encoded_json: str + def __init__(self, encoded_json: str) -> None: ...