将object类型转换成string类型的数组
2016-07-27 09:37
691 查看
[{"Header":"","Flag":"Insert","Body":[{"OperateUserName":"","ACcountsID":[],"AbnormalType":"","AbnormalValue":"","AbnormalCompany":"","AbnormalDate":"","AbnormalName":"","SendUserGuid":""}],"Additional":[]}]
转换:
string[] ACcountsID = relation.Body[0]["ACcountsID"].ToObject<string[]>();
相关文章推荐
- 解决Spring JdbcTemplate调用queryForObject()方法结果集为空时报异常
- object 类的set和get方法,点语法 和 属性生成器
- Attempt to invoke interface method 'java.lang.Object[] java.util.Collection.toArray()' on a null obj
- Object 详解
- android json解析(JSONObject方法实现)
- Vector抛出异常与Object转换为Double后进行大小比较
- Object类,接口类与抽象类
- 解决 object references an unsaved transient instance - save the transient instance before flushing
- ObjectAnimator之android:propertyName
- object类中相关方法
- TypeError:'dict' object is not callable
- Objective C转Swift注意事项(二)值类型和协议
- Object中的finalize方法的使用
- PyGobject(二十二)布局容器之Frame
- PyGobject(二十一)布局容器之AppChooserButton
- PyGobject(二十)布局容器之ComboBox
- 解决问题: ----- The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from
- Object流
- POJ 3241 Object Clustering 曼哈顿最小生成树
- PyGobject(十九)布局容器之Alignment