如何从字符串中获取指定数据 [英] How to get specified data from a string

查看:420
本文介绍了如何从字符串中获取指定数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个json格式的字符串,我需要在mono中反序列化该json字符串,在2010中,我们有datacontractjsonserilizer类,可以对它进行序列化和反序列化,但是不能在mono中进行.. ?in mono

I have a string which is in json format ,i need to deserilize that json string in mono ,in vs 2010 we have datacontractjsonserilizer class with that we can do serilize and desirialize,but can not in mono ..how can it posiible?in mono

推荐答案

正则表达式是否全部失败?
Regular expressions if all else fails?


引用此线程,希望对您有所帮助

> http://stackoverflow.com/questions/596271/deserialization-problem-with-datacontractjsonserializer [ ^ ]
Refer this thread, hope it helps

http://stackoverflow.com/questions/596271/deserialization-problem-with-datacontractjsonserializer[^]


这篇关于如何从字符串中获取指定数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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