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

will json_encode preserve the order of keys in the header/payload array? #87

Closed
zzmmzz777 opened this issue Mar 22, 2016 · 1 comment
Closed

Comments

@zzmmzz777
Copy link

The generateSigninInput use json_encode to get signinInput.

will json_encode preserve the order of keys in the header/payload array? will it always generate the same output with original encoded header/payload?

@odino
Copy link
Contributor

odino commented Mar 23, 2016

hey @ekousp, you should check this on the PHP doc itself: http://php.net/manual/en/function.json-encode.php#107616

Cheers!

@odino odino closed this as completed Mar 23, 2016
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

2 participants