bhftbootcamp / Serde.jl

Serde is a Julia library for (de)serializing data to/from various formats. The library offers a simple and concise API for defining custom (de)serialization behavior for user-defined types
Apache License 2.0
31 stars 7 forks source link

Implement XML deserialization (#2) #13

Closed maxfadson closed 4 months ago

maxfadson commented 4 months ago

I developed XML deserialization using the EzXML.jl as a parser and some ideas from XMLDict.jl as inspiration for implementing conversion to required dictionary by Deser. I also wrote a number of tests for parsing and escaping characters.

EzXML was chosen as the main library, since when benchmarked it showed identical speed to LightXML, but a smaller amount of allocated memory (and well, I liked its style).

I'm waiting for feedback, perhaps you have any suggestions for improving my implementation or other comments.


Pull request checklist