polymerist.genutils.fileutils.jsonio.update =========================================== .. py:module:: polymerist.genutils.fileutils.jsonio.update .. autoapi-nested-parse:: Tools for statically or dynamically updating JSON files Classes ------- .. autoapisummary:: polymerist.genutils.fileutils.jsonio.update.JSONDict Functions --------- .. autoapisummary:: polymerist.genutils.fileutils.jsonio.update.append_to_json Module Contents --------------- .. py:function:: append_to_json(json_path: pathlib.Path, **kwargs) -> None Add an entry to an existing JSON file .. py:class:: JSONDict(json_path: pathlib.Path, *args, **kwargs) Bases: :py:obj:`dict` Dict subclass which also updates an underlying JSON file - effectively and on-disc dict !NOTE! - JSON doesn't support non-string keys, so all keys given will be stringified - plan accordingly! .. py:attribute:: json_path :type: pathlib.Path