Very simple:
import json
data = json.loads('{"one" : "1", "two" : "2", "three" : "3"}')
print(data['two']) # or `print data['two']` in Python 2
More Related Contents:
- Why can’t Python parse this JSON data? [closed]
- How to parse data in JSON format?
- How to extract multiple JSON objects from one file?
- Pandas read nested json
- ‘module’ object has no attribute ‘loads’ while parsing JSON using python
- Python/Json:Expecting property name enclosed in double quotes
- Why is json.loads an order of magnitude faster than ast.literal_eval?
- How can I parse (read) and use JSON?
- json reading error json.decoder.JSONDecodeError: Invalid \escape
- Parsing text file (Python)
- How to read a single object from a json file containing multiple objects using python? [closed]
- How to parse command line args in python [closed]
- How to insert a space delimited text file into mysql using Python? [closed]
- Split / Explode a column of dictionaries into separate columns with pandas
- How to get string objects instead of Unicode from JSON?
- How to efficiently parse fixed width files?
- How to JSON serialize sets?
- Equation parsing in Python
- json.dumps vs flask.jsonify
- Python read JSON file and modify
- How to extract top-level domain name (TLD) from URL
- Check if key exists and iterate the JSON array using Python
- Python JSON TypeError list indices must be integers or slices, not str
- How to send JSON as part of multipart POST-request
- How to customise error response in FastAPI?
- Accessing dictionary by key in Django template
- Get document DOCTYPE with BeautifulSoup
- is not JSON serializable
- Single versus double quotes in json loads in Python
- Python Parse CSV Correctly