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 support for json-name trait in classes #11

Merged
merged 3 commits into from Nov 12, 2015
Merged

Add support for json-name trait in classes #11

merged 3 commits into from Nov 12, 2015

Conversation

jonathanstowe
Copy link
Contributor

As mentioned on IRC here is support for having a json-name on an attribute in a class to be unmarshalled.

It adds the dependency on JSON::Name as the usage is identical in JSON::Marshal, but that is tiny and very simple (with no dependencies of its own.)

Have fun.

@tadzik
Copy link
Owner

tadzik commented Nov 12, 2015

You're the best!

tadzik pushed a commit that referenced this pull request Nov 12, 2015
Add support for json-name trait in classes
@tadzik tadzik merged commit 6096eb0 into tadzik:master Nov 12, 2015
@jonathanstowe
Copy link
Contributor Author

👍

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