Commit acb2027
committed
bug symfony#61580 [JsonStreamer] Fix encoding iterable lists (mtarld)
This PR was merged into the 7.3 branch.
Discussion
----------
[JsonStreamer] Fix encoding iterable lists
| Q | A
| ------------- | ---
| Branch? | 7.3
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues |
| License | MIT
Sibling of symfony#61561.
Handle any iterable with `int` as key as a list during encoding (which mean being encoded with brackets).
Commits
-------
2057bc8 [JsonStreamer] Fix encoding iterable listsFile tree
2 files changed
+4
-2
lines changed- src/Symfony/Component/JsonStreamer
- Tests
- Write
2 files changed
+4
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
298 | 300 | | |
299 | 301 | | |
300 | 302 | | |
| |||
0 commit comments