예제 #1
0
        public object ToObject(string json)
        {
            Dictionary <string, object> dictionary = (Dictionary <string, object>)JsonParser.JsonDecode(json);

            if (dictionary == null)
            {
                return(null);
            }
            return(dictionary);
        }
예제 #2
0
        internal static object JsonDecode(string json)
        {
            bool flag = true;

            return(JsonParser.JsonDecode(json, ref flag));
        }
예제 #3
0
 public object ToObject(string json)
 {
     return((object)(Dictionary <string, object>)JsonParser.JsonDecode(json) ?? (object)null);
 }
예제 #4
0
        internal static object JsonDecode(string json)
        {
            bool success = true;

            return(JsonParser.JsonDecode(json, ref success));
        }