Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

json Module Demo #10

Open
nickdibari opened this issue Jan 18, 2018 · 0 comments
Open

json Module Demo #10

nickdibari opened this issue Jan 18, 2018 · 0 comments

Comments

@nickdibari
Copy link
Contributor

nickdibari commented Jan 18, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant