40 lines
1.2 KiB
Python
Raw Normal View History

2022-06-02 12:07:24 +08:00
from PikaObj import *
class cJSON(TinyObj):
2022-06-06 11:56:29 +08:00
cJSON_Invalid: int
cJSON_False: int
cJSON_True: int
cJSON_NULL: int
cJSON_Number: int
cJSON_String: int
cJSON_Array: int
cJSON_Object: int
cJSON_Raw: int
2022-06-02 14:23:55 +08:00
def print(self) -> str: ...
2022-06-02 16:50:31 +08:00
def parse(self, value: str): ...
def __del__(self): ...
2022-06-06 10:09:12 +08:00
def __init__(self): ...
2022-06-06 09:13:27 +08:00
def getObjectItem(self, string: str) -> cJSON: ...
2022-06-06 11:53:09 +08:00
def getArrayItem(self, index: int) -> cJSON: ...
def getArraySize(self) -> int: ...
2022-06-06 10:25:57 +08:00
def getType(self) -> int: ...
def getNext(self) -> cJSON: ...
def getPrev(self) -> cJSON: ...
def getChild(self) -> cJSON: ...
def getValueString(self) -> str: ...
def getValueInt(self) -> int: ...
def getValueDouble(self) -> float: ...
def getString(self) -> str: ...
2022-06-06 10:34:34 +08:00
def getValue(self) -> any: ...
2022-06-06 11:53:09 +08:00
def isInvalid(self) -> int: ...
def isFalse(self) -> int: ...
def isTrue(self) -> int: ...
def isBool(self) -> int: ...
def isNull(self) -> int: ...
def isNumber(self) -> int: ...
def isString(self) -> int: ...
def isArray(self) -> int: ...
def isObject(self) -> int: ...
def isRaw(self) -> int: ...