aminya / AcuteML.jl

Acute Markup Language - HTML/XML in Julia
https://aminya.github.io/AcuteML.jl/dev
MIT License
6 stars 4 forks source link

Dict data support #94

Open aminya opened 4 years ago

aminya commented 4 years ago

We should allow a field to be a Dict. Having a Dict as a filed means that user can use Dict instead of a struct to define/parse their html/xml data.

aminya commented 4 years ago

Static extraction isn't possible since the html names (keys for a Dict) are not known beforehand. We can probably fill a Dict dynamically with the rest of the data that isn't captured in other fields. or provide a Dict like API data access directly from aml.