예제 #1
0
        public void SetResolver()
        {
            _resolver = new FlexiblePathResolver();
            var settings = new JsonPatchSettings
            {
                PathResolver = _resolver
            };

            var formatter = new JsonPatchFormatter(settings);
        }
        public void SetResolver()
        {
            _resolver = new CaseInsensitivePropertyPathResolver();
            var settings = new JsonPatchSettings
            {
                PathResolver = _resolver
            };

            var formatter = new JsonPatchFormatter(settings);
        }
예제 #3
0
        public void SetResolver()
        {
            _resolver = new AttributePropertyPathResolver();
            var settings = new JsonPatchSettings
            {
                PathResolver = _resolver
            };

            var formatter = new JsonPatchFormatter(settings);
        }