Esempio n. 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);
        }
Esempio n. 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);
        }