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

change request: meassurements.series.$_time #17

Open
jwende opened this issue Nov 2, 2017 · 2 comments
Open

change request: meassurements.series.$_time #17

jwende opened this issue Nov 2, 2017 · 2 comments

Comments

@jwende
Copy link

jwende commented Nov 2, 2017

Change request: please change the field name to something that can be used for a XML Binding too.
Thanks.

@ameinhardt
Copy link
Contributor

Transforming json keys directly to xml element names might e.g. also not work for arbitrary measurement names. These names are key (specification) and could be e.g. "min pressure" with blanks.
You could use a more verbose transformation like (net.sf.json.xml.XMLSerializer). So I think there's no need to adapt the time field nor would that alone help.
What's the objective of transforming json to xml in that case and not directly bind to your native implementation (c, python, etc.)?

@ameinhardt ameinhardt self-assigned this Nov 5, 2017
@jwende
Copy link
Author

jwende commented Nov 5, 2017

I'm using a tool currently that's xml-ish - e.g. it uses XPath for navigation and it expects that the format definition follows the XSD rules ...

Thanks
Joerg

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

No branches or pull requests

2 participants