XmlToDynamic icon indicating copy to clipboard operation
XmlToDynamic copied to clipboard

Property name formatter

Open mikehaas763 opened this issue 10 years ago • 1 comments

This project looks cool, it could potentially be useful for some things I work on. The main thing I would want though is the ability to extend it with a custom property name formatter.

The majority of the XML I work with looks like

<Line_num><System_Config></System_Config></Line_num>

Notice that the capitalizing is not consistent. I would extend it with the ability to convert the element names when they are assigned to the dynamic object to a CamelCase format.

What do you think?

mikehaas763 avatar Nov 06 '14 19:11 mikehaas763

Hi @mikehaas763, thanks for your idea! That sounds pretty legit. At least there should be a way for you to pass in your own formatting class, which extends an appropriate interface.

Sorry about the very late reply, I didn't even notice this issue! I'm still new to this open-source/GitHub world.

But I'll follow up on your feature request.

jonathanconway avatar Oct 21 '16 01:10 jonathanconway