civis.io.file_to_json¶
-
civis.io.file_to_json(file_id, client=None, **json_kwargs)[source]¶ Restore JSON stored in a Civis File
Parameters: - file_id : int
ID of a JSON-formatted Civis File
- client :
civis.APIClient, optional If not provided, an
civis.APIClientobject will be created from theCIVIS_API_KEY.- **json_kwargs
Additional keyword arguments will be passed directly to
json.load().
Returns: - The object extracted from the JSON-formatted file
See also