|
def | dumps (obj, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, cls=None, indent=None, separators=None, encoding='utf-8', default=None, use_decimal=True, namedtuple_as_object=True, tuple_as_array=True, bigint_as_string=False, sort_keys=False, item_sort_key=None, for_json=False, ignore_nan=False, int_as_string_bitcount=None, iterable_as_array=False, **kw) |
|
def | loads (s, encoding=None, cls=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, object_pairs_hook=None, use_decimal=False, **kw) |
|
Definition at line 12 of file JSON.py.
◆ dumps()
def aestate.ajson.sim.JSON.Json.dumps |
( |
|
obj, |
|
|
|
skipkeys = False , |
|
|
|
ensure_ascii = True , |
|
|
|
check_circular = True , |
|
|
|
allow_nan = True , |
|
|
|
cls = None , |
|
|
|
indent = None , |
|
|
|
separators = None , |
|
|
|
encoding = 'utf-8' , |
|
|
|
default = None , |
|
|
|
use_decimal = True , |
|
|
|
namedtuple_as_object = True , |
|
|
|
tuple_as_array = True , |
|
|
|
bigint_as_string = False , |
|
|
|
sort_keys = False , |
|
|
|
item_sort_key = None , |
|
|
|
for_json = False , |
|
|
|
ignore_nan = False , |
|
|
|
int_as_string_bitcount = None , |
|
|
|
iterable_as_array = False , |
|
|
** |
kw |
|
) |
| |
|
static |
转json字符串
Definition at line 15 of file JSON.py.
◆ loads()
def aestate.ajson.sim.JSON.Json.loads |
( |
|
s, |
|
|
|
encoding = None , |
|
|
|
cls = None , |
|
|
|
object_hook = None , |
|
|
|
parse_float = None , |
|
|
|
parse_int = None , |
|
|
|
parse_constant = None , |
|
|
|
object_pairs_hook = None , |
|
|
|
use_decimal = False , |
|
|
** |
kw |
|
) |
| |
|
static |
json转字典
Definition at line 55 of file JSON.py.
The documentation for this class was generated from the following file: