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

Provide examples for serializer and virtual #17

Open
steffengates opened this issue May 16, 2014 · 1 comment
Open

Provide examples for serializer and virtual #17

steffengates opened this issue May 16, 2014 · 1 comment

Comments

@steffengates
Copy link

The text included below is all that is mentioned about virtual and serializer. These are incredibly useful features - but their use is kind of a mystery. Could the read me be expanded to show a small example of each?

"virtual is a configuration option which allows us to define closures with custom serialization behavior (json,xml)

serializer unlike virtual which will create completely new property, this configuration options allows us to customize serialization output for existing property"

@mskec
Copy link

mskec commented Jun 2, 2014

You can find examples in test directory of this repo. I know there should be example in readme, but you can use unit test examples for now.

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