Skip to content
This repository was archived by the owner on Oct 29, 2018. It is now read-only.

Latest commit

 

History

History
18 lines (9 loc) · 478 Bytes

File metadata and controls

18 lines (9 loc) · 478 Bytes

ujson

This modules allows to convert between Python objects and the JSON data format.

Methods

ujson.dumps(obj)

Return obj represented as a JSON string.

ujson.loads(str)

Parse the JSON str and return an object. Raises ValueError if the string is not correctly formed.

ujson.load(fp)

Parse contents of fp (a .read()-supporting file-like object containing a JSON document). Raises ValueError if the content is not correctly formed.