Skip to content

json Module Demo #10

@nickdibari

Description

@nickdibari

json provides a package of functions to operate on JSON data. This provides an easy interface for reading and writing JSON files by translating Python dictionaries to JSON objects and vice versa. Applications for this in the real world include creating fixture files for recreating a database, parsing various web API responses, formatting log files, and much more.

Suggest demo show how to create data in a Python program, write output to a JSON file, then read the file in another program (or the two methods can be combined into the same program).

Python Docs: https://docs.python.org/2/library/json.html

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions