JSON processing in Python
Jump to navigation
Jump to search
External
Internal
Overview
import json
data = json.loads('{"color":"blue", "size":10}')
print(data.get("color"))
print(data.get("size"))
import json
data = json.loads('{"color":"blue", "size":10}')
print(data.get("color"))
print(data.get("size"))