## IWC + JSON Example Here, I will give a short overview on how to use the IwcJson Framework in Role-SDK widgets. First you have to include the following libraries in your widget file: ``` ``` A working widget implementation is [IwcJson.xml](./IwcJson.xml) and the js-file is [index.js](./index.js) ```js function init(){ Y.createPeerJsConnector(function(Connector, user_id){ ``` yatta is the shared json object. If you change something on this object, it will be instantly shared with all the other collaborators. ```js Y.yatta = new JsonYatta(user_id, Connector); }); } window.onload = init ```