Skip to content

Commit

Permalink
Merge pull request #159 from samar-hassan/patch-1
Browse files Browse the repository at this point in the history
Update incorrect spelling in docs
  • Loading branch information
timsavage authored Jan 13, 2024
2 parents fd453ba + ef81f63 commit 58cc902
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit 58cc902

Please sign in to comment.