Skip to content

fix: responseFile convert empty object to array#823

Open
deathkel wants to merge 3 commits intompociot:masterfrom
deathkel:master
Open

fix: responseFile convert empty object to array#823
deathkel wants to merge 3 commits intompociot:masterfrom
deathkel:master

Conversation

@deathkel
Copy link

responseFile convert empty object to array due to json_decode($content, true)
Example

{"foo":{}}

convert to

{"foo":[]}

responseFile convert empty object to array due to `json_decode($content, true)`
Example
```json
{"foo":{}}
```
convert to
```json
{"foo":[]}
```
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.

1 participant