We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a0491c commit 16213b3Copy full SHA for 16213b3
src/main/php/text/json/Input.class.php
@@ -94,10 +94,11 @@ protected function readObject($nesting) {
94
if ('}' === $token) {
95
return new JsonObject();
96
} else if (null !== $token) {
97
- $result= [];
98
if (++$nesting > $this->maximumNesting) {
99
throw new FormatException('Nesting level too deep');
100
}
+
101
+ $result= [];
102
do {
103
$key= $this->valueOf($token, $nesting);
104
if (!is_string($key)) {
0 commit comments