-
-
Save fatosmorina/d826c9b4f32cd9c1b808591fac72fc54 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
json_string = '[{"first": 1, "second":2}, {"third":3, "fourth":4}]' | |
json_as_list = json.loads(json_string) | |
print(json_as_list) | |
# [{'first': 1, 'second': 2}, {'third': 3, 'fourth': 4}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment