예제 #1
0
        public object Read(Type type, string key)
        {
            var jsonValue = _elements[key];

            return(ValueConverter.ConvertValueToTargetType(type, jsonValue));
        }
예제 #2
0
        public T Read <T>(string key)
        {
            var jsonValue = _elements[key];

            return(ValueConverter.ConvertValueToTargetType <T>(jsonValue));
        }