Skip to content
Snippets Groups Projects
Verified Commit 4d99ce71 authored by Leon Mauritz Möller's avatar Leon Mauritz Möller
Browse files

adapter.json.json_serialization: fix spelling in docstrings

parent f844acc6
Branches
No related tags found
2 merge requests!74Merge docs/sphinx_autodocs into improve/V30RC01,!67[WIP] Update to V30RC01
Pipeline #413963 failed
......@@ -769,8 +769,8 @@ def object_store_to_json(data: model.AbstractObjectStore, stripped: bool = False
:param stripped: If true, objects are serialized to stripped json objects.
See https://git.rwth-aachen.de/acplt/pyi40aas/-/issues/91
This parameter is ignored if an encoder class is specified.
:param encoder: The encoder class used to encoder the JSON objects
:param kwargs: Additional keyword arguments to be passed to `json.dump()`
:param encoder: The encoder class used to encode the JSON objects
:param kwargs: Additional keyword arguments to be passed to `json.dumps()`
"""
encoder_ = _select_encoder(stripped, encoder)
# serialize object to json
......@@ -789,8 +789,8 @@ def write_aas_json_file(file: IO, data: model.AbstractObjectStore, stripped: boo
:param stripped: If `True`, objects are serialized to stripped json objects.
See https://git.rwth-aachen.de/acplt/pyi40aas/-/issues/91
This parameter is ignored if an encoder class is specified.
:param encoder: The encoder class used to encoder the JSON objects
:param kwargs: Additional keyword arguments to be passed to `json.dumps()`
:param encoder: The encoder class used to encode the JSON objects
:param kwargs: Additional keyword arguments to be passed to `json.dump()`
"""
encoder_ = _select_encoder(stripped, encoder)
# serialize object to json
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment