1
Fork 0
mirror of https://github.com/RGBCube/JsonWrapper synced 2025-07-27 11:47:45 +00:00

Update README.md

This commit is contained in:
RGBCube 2022-01-28 22:09:22 +03:00 committed by GitHub
parent 571fdc3720
commit 5233c1a742
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,11 +3,11 @@
# *class* `json_wrapper.JsonWrapper(json_path: str)` # *class* `json_wrapper.JsonWrapper(json_path: str)`
### Methods ### Methods
* [*def* `set(key: str, value, *, pathmagic: Union[str, List[str] = "")`](https://github.com/RGBCube/json-wrapper/tree/main/docs#def-setkey-str-value--pathmagic-str-list--) * [*def* `set(key: str, value, *, pathmagic: Union[str, List[str] = "")`](https://github.com/RGBCube/json-wrapper/tree/main/docs#def-setkey-str-value--pathmagic-unionstr-liststr--)
* [*def* `get(key: str, *, default=None, pathmagic: Union[str, List[str] = "")`](https://github.com/RGBCube/json-wrapper/blob/main/docs/README.md#def-getkey-str--defaultnone-pathmagic-str-list--) * [*def* `get(key: str, *, default=None, pathmagic: Union[str, List[str] = "")`](https://github.com/RGBCube/json-wrapper/tree/main/docs#def-getkey-str--defaultnone-pathmagic-unionstr-liststr--)
* [*def* `all()`](https://github.com/RGBCube/json-wrapper/tree/main/docs#def-all) * [*def* `all()`](https://github.com/RGBCube/json-wrapper/tree/main/docs#def-all)
* [*def* `rem(key: str, *, pathmagic: Union[str, List[str] = "")`]() * [*def* `rem(key: str, *, pathmagic: Union[str, List[str] = "")`](https://github.com/RGBCube/json-wrapper/tree/main/docs#def-remself-key-str--pathmagic-unionstr-liststr--)
* [*def* `nuke(*, pathmagic: Union[str, List[str] = "")`]() * [*def* `nuke(*, pathmagic: Union[str, List[str] = "")`](https://github.com/RGBCube/json-wrapper/blob/main/docs/README.md#def-nuke-pathmagic-unionstr-liststr--)
## *def* `set(key: str, value, *, pathmagic: Union[str, List[str] = "")` ## *def* `set(key: str, value, *, pathmagic: Union[str, List[str] = "")`
Sets the key value pair in the json. Sets the key value pair in the json.