How to Populate JSON data as Checkboxes in SAPUI5 XML View

Issue : Checkboxes are not populating in browser. I want to display checkboxes of Set1

Controller Code to initialize CheckBoxes:

initAccessInfoCB: function(){

        var data1 = [
                    {
                        "Set1": [
                            {  "value" : "View Account Summary" },
                            {  "value" : "COOP Balance Information"},
                            {  "value" : "View Pricing Status" },
                            {  "value" : "View Pricing and Products." }
                           ]                            
                    },
                    {
                        "Set2": [
                            {"value": "View Account Summary"},
                            {"value": "Service Access by Account" },
                            {"value": "Service Access by Equipment Number"},
                            {"value": "Service Access by Location"},
                            {"value": "Service Access by Serial Number"},
                            {"value": "Access to Dealer Portal "}
                        ]
                    }
                ];                   

        this.getView().setModel(new sap.ui.model.json.JSONModel(data1), "accessInfoModel");      
            
    },

SAPUI5 XML View Code :

/0/Set1}" >
        
            
        
    

Read more here: Source link