You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
459 B
20 lines
459 B
:mod:`ujson` -- JSON encoding and decoding
|
|
==========================================
|
|
|
|
.. module:: ujson
|
|
:synopsis: JSON encoding and decoding
|
|
|
|
This modules allows to convert between Python objects and the JSON
|
|
data format.
|
|
|
|
Functions
|
|
---------
|
|
|
|
.. function:: dumps(obj)
|
|
|
|
Return ``obj`` represented as a JSON string.
|
|
|
|
.. function:: loads(str)
|
|
|
|
Parse the JSON ``str`` and return an object. Raises ValueError if the
|
|
string is not correctly formed.
|
|
|