Hi all,

At the moment myself and pumudu ([email protected]) are developing wso2 esb
connector for codeplex. It has an operation to create subscription where we
need to send json array like below.

{
  "Events": [
    {
      "Name": "Code Change",
      "Enabled": true,
      "Properties": [
        {
          "Name": "summary",
          "Value": "True"
        }
      ]
    }
  ],
  "Properties": [
    {
      "Name": "url",
      "Value": "http://test.com";
    }
  ]

}

In that case what would be the best approach to handle json array?

01. get whole json array as a parameter from user
02. get properties as parameters from user and create json array inside
connector.

-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Mobile: +94 77 1616060   | Work: +94 112145345

Email: [email protected] | Web: www.wso2.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to