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

idk why but yes

This commit is contained in:
RGBCube 2022-01-15 15:52:43 +03:00 committed by GitHub
parent 74e6d7e752
commit c06b88c1a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@ from db import ClutterDB
db = ClutterDB("db.json")
db.set("test", 123, pathmagic="first+second+third")
db.set("test", 123, pathmagic="a+b+c")
data = db.all()
@ -58,7 +58,7 @@ print(data)
```
Output
```
{'first': {'second': {'third': {'test': 123}}}}
{'a': {'b': {'c': {'test': 123}}}}
```
## `db.get()`
### Normal usage