Tuesday, 7 February 2017

Wave 106: Dashboard JSON

Understanding constructs involved in a dashboard. 
JSON is an example of a declarative language. You need to install an app on your chrome browser to edit JSON.  
App name  in the chrome webstore is: JSON editor. 
The JSON editor is used to validate the JSON . 
The dashboard creates a JSON in the background. 
We can check the JSON from the Lens field in the setup.  
JSON is nothing but a Key: Value Pair.   
The dashboard JSON has a slew of Metadata.  
The widget properties can be seen in the JSON in JSON format.  
Every widget is connected with a 'Step' because of the state object.  
A lens could or could not have a widget or grouping. A lens will have atleast one filter which is the measure.  
You can edit the JSON on the JSON editor and then go to lens object and update the JSON. Once you click update, you can see the JSON below which means it is working and then you can see the exact the same change on the dashboard JSON.  


No comments:

Post a Comment