Browse Source

Json

pull/3/head
Jure Šorn 6 years ago
parent
commit
4ca934ffb0
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -453,7 +453,7 @@ def read_json_file(filename):
```python
def write_to_json_file(filename, an_object):
with open(filename, 'w', encoding='utf-8') as file:
json.dump(an_object, file, ensure_ascii=True, indent=None)
json.dump(an_object, file, ensure_ascii=False, indent=2)
```
SQLite

Loading…
Cancel
Save