You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following on from #151, there should be an annotation that allows for list items to be customised in special circumstances. Given the following configuration:
Option 2 is my favourite, but option 4 is a lot easier to implement. Make sure you have a class to hold the element name in, and implement things like in the snakeyaml examples.
Following on from #151, there should be an annotation that allows for list items to be customised in special circumstances. Given the following configuration:
The xml that gets generated ends up like this:
Unfortunately, in my specific case, the xml generated needs to be like this:
A potential solution is to add a tag option (http://yaml.org/spec/1.1/#id858961) which gets read and interpreted as the element type (examples here), e.g.:
or add parameterisation to the tag and try to find the metadata during parsing:
If tags aren't usable, the parser could always look at lists and split the name on
:
. e.g.:Or tags could be used statically to specify an element with metadata:
The text was updated successfully, but these errors were encountered: