解析json数组以获取项目 [英] Parse a json array to get the items

查看:90
本文介绍了解析json数组以获取项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个数组。

I have an array.

"[\"8124318066\",\"3869383310\",\"9417395507\"]"





我在C#中使用replace或remove方法来检索三个字符串。但这不是我猜的最佳方式。



还有更好的方法吗?



I used replace or remove method in C# to retrieve the three strings. But it isn't the best way I guess.

Is there a better way?

推荐答案

请参阅我最近的回答: haw从Cloudant获取数据(json文件) [ ^ ]。



-SA
Please see my recent answer: haw to get data from Cloudant (json document)[^].

—SA


这篇关于解析json数组以获取项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆