JSON processing in Python

From NovaOrdis Knowledge Base
Revision as of 07:26, 12 January 2022 by Ovidiu (talk | contribs) (→‎Overview)
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"))