Tyson Andre
92aeda524b
Fix json_encode regression with JSON_PRETTY_PRINT
...
This makes the json encoding behavior the same as it was prior to the memory
optimizations added in f9f8c1c79c
(for objects with declared properties)
This is based on the code for the unoptimized case below the changes.
Buggy output prior to this commit:
```
{
"prop":"value"}
```
Correct output:
```
{
"prop": "value"
}
```
Closes GH-6811
2021-03-27 18:47:54 -04:00
..
2021-02-11 21:46:13 +01:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-09-18 14:28:32 +02:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-09-18 14:28:32 +02:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-08-09 22:03:36 +02:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-08-09 22:03:36 +02:00
2020-08-09 22:03:36 +02:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2021-02-11 21:46:13 +01:00
2020-05-28 15:07:47 -04:00
2021-02-11 21:46:13 +01:00
2020-05-28 15:07:47 -04:00
2020-08-09 22:03:36 +02:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2021-03-27 18:47:54 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-09-09 10:47:43 +02:00
2020-09-09 10:47:43 +02:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-05-28 15:07:47 -04:00
2020-08-09 22:03:36 +02:00
2020-05-28 15:07:47 -04:00