Example #1
0
        public void TestNetJSONProperty()
        {
            NetJSON.IncludeFields = true;

            var sample = new SampleSubstitionClass {
                ID = 100, Name = "Test Property", Number = 504
            };

            var json  = NetJSON.Serialize(sample);
            var sData = NetJSON.Deserialize <SampleSubstitionClass>(json);
        }
Example #2
0
        public void TestNetJSONProperty()
        {
            NetJSON.IncludeFields = true;

            var sample = new SampleSubstitionClass { ID = 100, Name = "Test Property", Number = 504 };

            var json = NetJSON.Serialize(sample);
            var sData = NetJSON.Deserialize<SampleSubstitionClass>(json);
        }