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

Serialize without units #66

Closed
objorke opened this issue Oct 12, 2016 · 1 comment
Closed

Serialize without units #66

objorke opened this issue Oct 12, 2016 · 1 comment

Comments

@objorke
Copy link
Collaborator

objorke commented Oct 12, 2016

Currently the quantities are serialized with units, e.g. to xml: <Length1>100 m</Length1>
This means the serializer needs to use the unit provider singleton.
To avoid this, serialize the value of the quantity without units: <Length1>100</Length1>

@objorke
Copy link
Collaborator Author

objorke commented Oct 12, 2016

The deserializer could still parse units to support old serialized data.

objorke added a commit that referenced this issue Oct 15, 2016
@objorke objorke mentioned this issue Oct 15, 2016
@objorke objorke closed this as completed Oct 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant