小编Ara*_*san的帖子

如何在C#中获取Json数组?

我有一个Json字符串像这样,我wana加载它在C#数组..当我尝试这样做我得到例外

我的字符串:

 {
"customerInformation":
[
  {
     "customerId":"123",
     "CustomerName":"",
     "Age":39,
     "Gender":"Male",
     "StudyInfo":[
        {
           "Modality":"XRAY",
           "StudyName":"Test Name",
           "ModalityId":"1",
           "StudyID":"10923",
           "visitid":41549113,
           "billingId":"456",
           "RegDate":"mm/dd/yyyy",
           "uploaded":"1",
           "groupid":"1"

        },
        {
           "Modality":"XRAY",
           "StudyName":"CT Test Name",
           "ModalityId":"1",
           "StudyID":"10924",
           "visitid":41549113,
           "billingId":"459",
           "RegDate":"mm/dd/yyyy",
           "uploaded":"1",
           "groupid":"1"

        }
     ]
  },

  {
     "customerId":"928",
     "CustomerName":"",
     "Age":49,
     "Gender":"FeMale",
     "StudyInfo":[
        {
           "Modality":"XRAY",
           "StudyName":"Test Name",
           "ModalityId":"1",
           "StudyID":"10923",
           "visitid":41549113,
           "billingId":"456",
           "RegDate":"mm/dd/yyyy",
           "uploaded":"1",
           "groupid":"1"
        },
        {
           "Modality":"XRAY",
           "StudyName":"CT Test Name",
           "ModalityId":"1",
           "StudyID":"10924",
           "visitid":41549113,
           "billingId":"459",
           "RegDate":"mm/dd/yyyy",
           "uploaded":"1",
           "groupid":"1"
        }
     ]
  }

]

 }
Run Code Online (Sandbox Code Playgroud)

我的代码:

public class Attributes
{


    public string[] …
Run Code Online (Sandbox Code Playgroud)

c# arrays json

4
推荐指数
2
解决办法
5438
查看次数

Apache POI与Android - 如何创建,读取,写入,删除PowerPoint演示文稿?

我必须把Apache POI API与android一起使用

Provide me some tutorial links about this
Run Code Online (Sandbox Code Playgroud)

请解释一下

java android apache-poi

3
推荐指数
1
解决办法
2万
查看次数

标签 统计

android ×1

apache-poi ×1

arrays ×1

c# ×1

java ×1

json ×1