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 in Python?
- json reading error json.decoder.JSONDecodeError: Invalid \escape
- How do I write JSON data to a file?
- Extracting an attribute value with beautifulsoup
- How to use Stanford Parser in NLTK using Python
- Single vs double quotes in JSON
- Reading rather large JSON files [duplicate]
- Extracting a URL in Python
- How to get JSON from webpage into Python script
- sscanf in Python
- Django REST Framework POST nested objects
- flattening nested Json in pandas data frame
- Python: Trying to Deserialize Multiple JSON objects in a file with each object spanning multiple but consistently spaced number of lines
- How to convert to a Python datetime object with JSON.loads?
- Cast Flask form value to int
- Serialising an Enum member to JSON
- Math Expression Evaluation
- How to return data in JSON format using FastAPI?
- Can json.loads ignore trailing commas?
- How can I remove extra whitespace from strings when parsing a csv file in Pandas?
- How to merge two json string in Python?
- Issue with merging multiple JSON files in Python
- How to Fix JSON Key Values without double-quotes?