mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
40 lines
1.1 KiB
Python
40 lines
1.1 KiB
Python
from PikaObj import *
|
|
|
|
|
|
class cJSON(TinyObj):
|
|
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
|
|
def print(self) -> str: ...
|
|
def parse(self, value: str): ...
|
|
def __del__(self): ...
|
|
def __init__(self): ...
|
|
def getObjectItem(self, string: str) -> cJSON: ...
|
|
def getArrayItem(self, index: int) -> cJSON: ...
|
|
def getArraySize(self) -> int: ...
|
|
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: ...
|
|
def getValue(self) -> any: ...
|
|
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: ...
|