Mercurial > pub > ImplabNet
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 263:711572866e0c | 264:3a6e18c432be |
|---|---|
| 1 using System.Xml.Serialization; | |
| 2 | |
| 3 namespace Implab.Test.Model { | |
| 4 | |
| 5 [XmlRoot(Namespace="urn:implab:test:model")] | |
| 6 public class Person { | |
| 7 public string FirstName { get; set; } | |
| 8 | |
| 9 public string LastName { get; set; } | |
| 10 | |
| 11 public int Age { get; set; } | |
| 12 | |
| 13 [XmlIgnore] | |
| 14 public bool AgeSpecified { get; set; } | |
| 15 | |
| 16 | |
| 17 [XmlElement("Tag")] | |
| 18 public string[] Tags { get; set; } | |
| 19 } | |
| 20 } |
