Reading JSON attribute
You can read a JSON attribute as any other entity attribute:
>>> Product[1].info
{'battery': 3600, '3.5mm jack': True, 'colors': ['Black', 'Grey', 'Gold'],
'display': 5.5}
Once JSON attribute is extracted from the database, it is deserialized and represented as a combination of dicts and lists. You can use the standard Python dict and list API for working with the value:
>>> Product[1].info['colors']
['Black', 'Grey', 'Gold']
>>> Product[1].info['colors'][0]
'Black'
>>> 'Black' in Product[1].info['colors']
True