Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bfa1d04

Browse files
authored
Add RawJSON to simplejson stubs (#5921)
Update METADATA.toml version
1 parent 5e0fc46 commit bfa1d04

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

stubs/simplejson/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = "0.1"
1+
version = "3.17"
22
python2 = true

stubs/simplejson/simplejson/__init__.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ from typing import IO, Any, Text, Union
22

33
from simplejson.decoder import JSONDecoder as JSONDecoder
44
from simplejson.encoder import JSONEncoder as JSONEncoder, JSONEncoderForHTML as JSONEncoderForHTML
5+
from simplejson.raw_json import RawJSON as RawJSON
56
from simplejson.scanner import JSONDecodeError as JSONDecodeError
67

78
_LoadsString = Union[Text, bytes, bytearray]
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
class RawJSON(object):
2+
encoded_json: str
3+
def __init__(self, encoded_json: str) -> None: ...

0 commit comments

Comments
 (0)