开发者

How to form JSONObject in Android

开发者 https://www.devze.com 2023-03-31 14:13 出处:网络
I need help with form json object like this.. \"Members\":[{ \"Id\":\"98\", \"ActionId\":\"1\", \"Notify\":\"Y\"

I need help with form json object like this..

"Members":[{
                   "Id":"98",
                   "ActionId":"1",
                   "Notify":"Y"
               },
               {
                   "Id":"104",
                   "ActionId":"2",
                   "Notify":"N"
               },
               {
                   "Id":"108",
                   "ActionId":"3",
                   "Notify":"Y"
               }
           ]

i want to form Members object dynamically,How will i form this kind of JSON Object in 开发者_Python百科android .please help me.. Thanks Friends,


Refer these example to achieve your target,

Examples

0

精彩评论

暂无评论...
验证码 换一张
取 消