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

Move API_Model to JsonSerializable interface #8

Open
spotman opened this issue Feb 11, 2016 · 0 comments
Open

Move API_Model to JsonSerializable interface #8

spotman opened this issue Feb 11, 2016 · 0 comments
Assignees

Comments

@spotman
Copy link
Owner

spotman commented Feb 11, 2016

Objects implementing JsonSerializable can customize their JSON representation when encoded with json_encode(). So we may exclude methods get_api_response_data() and replace it via standart method jsonSerialize

@spotman spotman self-assigned this Feb 11, 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