mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
30 lines
797 B
Python
30 lines
797 B
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
|
|
cJSON_IsReference = 9
|
|
cJSON_StringIsConst = 10
|
|
def print(self) -> str: ...
|
|
def parse(self, value: str): ...
|
|
def __del__(self): ...
|
|
def __init__(self): ...
|
|
def getObjectItem(self, string: str) -> cJSON: ...
|
|
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: ...
|