Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/intro/loading-and-saving-data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
Loading and saving data
#######################

Saving and loaded of resources is handled by codecs for each format.
Saving and loading of resources is handled by codecs for each format.

JSON data
=========

JSON data is loaded and saved using the :py:mod:`odin.codecs.json_codec` module. This module exposes an API that is very
similar to Pythons built in :py:mod:`json` module.
similar to Python's built in :py:mod:`json` module.

Using the Book and Author resources presented in the :doc:`creating-resources` section::

Expand Down
2 changes: 1 addition & 1 deletion src/odin/codecs/json_codec.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def default(self, o):

def load(fp, resource=None, full_clean=True, default_to_not_supplied=False):
"""
Load a from a JSON encoded file.
Load from a JSON encoded file.

See :py:meth:`loads` for more details of the loading operation.

Expand Down