Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom fieldPrefix and contentField in JsonXMLConfig #41

Closed

Conversation

tdegueur
Copy link

Allows to configure how Staxon converts XML attributes and plain text to Json fields.
The default behaviour ("@" for attributes, "$" for plain text) remains unchanged.

Allows to configure how Staxon converts XML attributes and plain text to Json fields
Default behaviour ("@" for attributes, "$" for plain text) is unchanged
@beckchr
Copy link
Owner

beckchr commented Feb 23, 2017

Thanks! I already added a textProperty config parameter locally. Having the ability to configure the attribute prefix is also a good thing. I'll probably add your changes manually.

@beckchr
Copy link
Owner

beckchr commented Feb 24, 2017

I incorporated your changes. I named the config properties "textProperty" and "attributePrefix".

@beckchr beckchr closed this Feb 24, 2017
@tdegueur
Copy link
Author

I agree that my configuration properties were poorly named :)
Happy to help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants