NullReferenceException #18

Closed
jalex opened this Issue Jan 31, 2012 · 1 comment

Projects

None yet

2 participants

@jalex
jalex commented Jan 31, 2012

Following code throws System.NullReferenceException:

    public class ClassA {
        public int a;
    }

    class Program {

        static void Main(string[] args) {
            JsonReader r = new JsonReader();
            r.Settings.AllowNullValueTypes = true;
            ClassA aObj = r.Read<ClassA>("{a:null}");
        }
    }
@mckamey mckamey closed this in 3fa7bc3 Sep 28, 2012
@mckamey
Member
mckamey commented Sep 28, 2012

Thanks for the repro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment