Hunt XML released 1.0.0 rc! Support for parsing, encoding, serialize, unserialize, object binding ..
JN
666total at wp.pl
Thu Dec 5 20:58:51 UTC 2019
On Thursday, 5 December 2019 at 16:48:01 UTC, zoujiaqing wrote:
> ## Sample code for it
> ```D
> import hunt.xml;
>
> @XmlRootElement("user")
> class User
> {
>
> @XmlAttribute("ID")
> int id = 1001;
>
> @XmlElement("USERNAME")
> string name;
> }
I like the declarative API, can't wait to give it a go. Reminds
me of JAXB :)
More information about the Digitalmars-d-announce
mailing list