2022-06-02 12:07:24 +08:00
|
|
|
from PikaObj import *
|
|
|
|
|
|
|
|
|
|
|
|
class cJSON(TinyObj):
|
2022-06-06 10:09:12 +08:00
|
|
|
cJSON_Invalid = 0
|
|
|
|
cJSON_False = 1
|
|
|
|
cJSON_True = 2
|
|
|
|
cJSON_NULL = 3
|
|
|
|
cJSON_Number = 4
|
|
|
|
cJSON_String = 5
|
|
|
|
cJSON_Array = 6
|
|
|
|
cJSON_Object = 7
|
|
|
|
cJSON_Raw = 8
|
|
|
|
cJSON_IsReference = 9
|
|
|
|
cJSON_StringIsConst = 10
|
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 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: ...
|