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

Support PHP 5.3 compatible alternative to JsonSerializable #3

Open
Beanow opened this issue Oct 13, 2014 · 0 comments
Open

Support PHP 5.3 compatible alternative to JsonSerializable #3

Beanow opened this issue Oct 13, 2014 · 0 comments

Comments

@Beanow
Copy link

Beanow commented Oct 13, 2014

The RestResponder creates a body using the json_encode() function in PHP.
This means you can't display models that have protected/private properties.

The JsonSerializable interface offers a PHP 5.4 solution to this.
It would make sense to offer a PHP 5.3 alternative.

@Beanow Beanow added this to the Version 0.2.0 beta milestone Oct 13, 2014
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