diff Implab.Test/Model/Person.cs @ 264:3a6e18c432be v3

Added XmlToJson xsl transformation. Added JsonXmlReader.CreateJsonXmlReader(...) methods Added SerializationHelpers.SerializeJson/DeserializeJson methods
author cin
date Mon, 16 Apr 2018 18:43:49 +0300
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Implab.Test/Model/Person.cs	Mon Apr 16 18:43:49 2018 +0300
@@ -0,0 +1,20 @@
+using System.Xml.Serialization;
+
+namespace Implab.Test.Model {
+
+    [XmlRoot(Namespace="urn:implab:test:model")]
+    public class Person {
+        public string FirstName { get; set; }
+
+        public string LastName { get; set; }
+
+        public int Age { get; set; }
+
+        [XmlIgnore]
+        public bool AgeSpecified { get; set; }
+
+
+        [XmlElement("Tag")]
+        public string[] Tags { get; set; }
+    }
+}
\ No newline at end of file