示例#1
0
        public static object Deserialize(string text)
        {
            var parser = new SharpJson.JsonDecoder();

            parser.parseNumbersAsFloat = true;
            return(parser.Decode(text));
        }
示例#2
0
文件: Json.cs 项目: asz3740/Catruto
        public static object DecodeText(string text)
        {
            var builder = new JsonDecoder();

            return(builder.Decode(text));
        }
示例#3
0
        public static object DecodeText(string text)
        {
            JsonDecoder jsonDecoder = new JsonDecoder();

            return(jsonDecoder.Decode(text));
        }