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

[BUGFIX] Supply correct parameter to json_decode #928

Merged
merged 1 commit into from
Jul 21, 2024
Merged

Conversation

s2b
Copy link
Contributor

@s2b s2b commented Jul 21, 2024

This line has been changed several times, but was probably never correct: Either set the second parameter of json_decode() to true to get an associative array or set the flag JSON_OBJECT_AS_ARRAY as fourth parameter.

We opt for the second parameter to keep things simple

This line has been changed several times, but was probably never
correct: Either set the second parameter of json_decode() to true
to get an associative array or set the flag JSON_OBJECT_AS_ARRAY
as fourth parameter.

We opt for the second parameter to keep things simple
@s2b s2b merged commit 4c2d825 into main Jul 21, 2024
8 checks passed
@s2b s2b deleted the bugfix/jsonDecode branch July 21, 2024 16:53
s2b added a commit that referenced this pull request Jul 21, 2024
This line has been changed several times, but was probably never
correct: Either set the second parameter of json_decode() to true
to get an associative array or set the flag JSON_OBJECT_AS_ARRAY
as fourth parameter.

We opt for the second parameter to keep things simple
s2b added a commit that referenced this pull request Jul 21, 2024
This line has been changed several times, but was probably never
correct: Either set the second parameter of json_decode() to true
to get an associative array or set the flag JSON_OBJECT_AS_ARRAY
as fourth parameter.

We opt for the second parameter to keep things simple
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

Successfully merging this pull request may close these issues.

2 participants