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

Configurable serializer/deserializer #34

Closed
LPGhatguy opened this issue Apr 25, 2019 · 1 comment
Closed

Configurable serializer/deserializer #34

LPGhatguy opened this issue Apr 25, 2019 · 1 comment

Comments

@LPGhatguy
Copy link
Contributor

It should be possible to configure both the serialization and deserialization methods in rbx_xml.

The only big option I think we need right now is the ability to turn off reflection-driven serialization.

This is a good opportunity to break the API to pick better names. I like the idea of picking names inspired by serde_json's API (but with a better name for the options struct):

  • rbx_xml::from_str(tree: &mut RbxTree, id: RbxId, source: &str, options: DeOptions)
  • rbx_xml::to_writer(output: &mut W, tree: &RbxTree, ids: &[RbxId], options: SeOptions)
@LPGhatguy
Copy link
Contributor Author

Done for 0.7.0!

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