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

Implement JsonSerializable interface #5

Merged
merged 3 commits into from
Jun 11, 2016

Conversation

pauci
Copy link
Contributor

@pauci pauci commented Jun 2, 2016

It would be nice to add support for serialization to json.

@nikolaposa
Copy link
Owner

Good idea, thanks.

btw Now that you added one more rendering-related method, can you do one more thing within this PR, which is moving those 3 methods - getVersionString(), __toString() and jsonSerialize() at the end of the Version class? Sequence of methods will be more natural and cleaner that way.

@pauci
Copy link
Contributor Author

pauci commented Jun 2, 2016

I moved related test-methods at the end of test-class as well - hopefully you are ok with that :)

@nikolaposa nikolaposa added this to the 2.1.0 milestone Jun 2, 2016
@nikolaposa
Copy link
Owner

Sure, that is ok, thanks.

Notice that I've set 2.1.0 milestone for this one, because your changes add new functionality, rather than fixing existing.

@nikolaposa nikolaposa merged commit ed1e187 into nikolaposa:master Jun 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants