Beispiel #1
0
        //public override T FromJson<T>(Stream stream)
        //{
        //    return ((DasCoreSerializer) this).FromJson<T>(stream);
        //}

        protected override T FromJsonCharArray <T>(Char[] json)
        {
            _state?.Dispose();

            _state = StateProvider.BorrowJson(Settings);

            var res = _state.Scanner.Deserialize <T>(json);

            RootNode = _state.Scanner.RootNode;
            return(res);
        }