Skip to content

Commit

Permalink
Fix JSON load
Browse files Browse the repository at this point in the history
  • Loading branch information
Lumír Jasiok committed Oct 1, 2018
1 parent e57ccc1 commit 5e64ab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lessons/beginners/tieto-json/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ Output:

```
import json
list1 = [5, 12, 13, 14];
print(json.dumps(list1));
list1 = '[ "Ford", "BMW", "Fiat" ]'
print(json.loads(list1));
```

### JSON string to Python string
Expand Down

0 comments on commit 5e64ab3

Please sign in to comment.