https://github.com/jesieldotdev/kivy-json
Trabalhando com Json no framework Kivy
https://github.com/jesieldotdev/kivy-json
Last synced: 2 months ago
JSON representation
Trabalhando com Json no framework Kivy
- Host: GitHub
- URL: https://github.com/jesieldotdev/kivy-json
- Owner: jesieldotdev
- Created: 2022-04-06T16:19:37.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-06T17:02:16.000Z (about 3 years ago)
- Last Synced: 2025-01-21T16:12:28.887Z (4 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Declarando arquivo json
` store = JsonStore('hello.json') `
## PUT, GET, POST E DELETE
### PUT
` store.put('Ziel', name='Jesiel', age=21) `
### GET
` print('tito tem ', store.get('tito')['age']) `
### READ
```
res = store.find()
for item in res:
print('Nome: ', str(item[1]['name']))
print("Idade: ", str(item[1]['age']))
```### DELETE
` store.delete('tito') `