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

Allow to set options to the json_encode method #58

Closed
lunika opened this issue Feb 9, 2017 · 5 comments
Closed

Allow to set options to the json_encode method #58

lunika opened this issue Feb 9, 2017 · 5 comments

Comments

@lunika
Copy link
Contributor

lunika commented Feb 9, 2017

It should be great to configure a little bit how the json_encode method is used in the Serializer. Configure all the options and the depth.
You can maybe add this in your v2 roadmap ? :-)

@kocsismate
Copy link
Member

Yeah, for sure. Good idea! I'll release a beta version tonight with this change.

And I plan to include the changes for hydrators in the second beta so we can think about the implementation a little bit more.

@kocsismate
Copy link
Member

kocsismate commented Feb 9, 2017

I've just released 2.0.0-beta1 with this change (f263ea9) :) I hope you'll like it - apart from some breaking changes which need some time to be resolved. Feel free to reach out to me if you might need help.

And do not hesitate to share other ideas of yours which come with breaking changes. I plan to stay in beta/RC for some weeks in order to accumulate enough ideas.

@lunika
Copy link
Contributor Author

lunika commented Feb 9, 2017

Thanks, I will test this soon :-)

@leclairmael
Copy link

Hello,
That's an interesting feature, could you backport it to the 1.0 branch?

@kocsismate
Copy link
Member

Hi,

It's done by now :) And I've just released v1.0.5!

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

3 participants