ecolab.json#
- etils.ecolab.json(value: Json, expanded: bool = False) None [source]#
Display the Json dict / list interactivelly (with collapsible elems).
Examples:
ecolab.json({'a': [1, 2, 3], 'b': {'x': True, 'y': False}})
The dict keys and list indices can be filtered from the display field using regex (e.g. a.[0-9] in the above example).
- Parameters:
value – Json dict or list to inspect.
expanded – Whether the elements start as expanded or as collapsed.