@@ 144-155 (lines=12) @@ | ||
141 | ||
142 | $this->jsonBinaryDecoderFormatter->formatBeginObject(); |
|
143 | ||
144 | for ($i = 0; $i !== $elementCount; ++$i) |
|
145 | { |
|
146 | if ($i !== 0) |
|
147 | { |
|
148 | $this->jsonBinaryDecoderFormatter->formatNextEntry(); |
|
149 | } |
|
150 | ||
151 | $this->jsonBinaryDecoderFormatter->formatName($keys[$i]); |
|
152 | ||
153 | /* @var JsonBinaryDecoderValue[] $entries */ |
|
154 | $this->assignValues($entries[$i]); |
|
155 | } |
|
156 | ||
157 | $this->jsonBinaryDecoderFormatter->formatEndObject(); |
|
158 | } |
|
@@ 297-306 (lines=10) @@ | ||
294 | ||
295 | $this->jsonBinaryDecoderFormatter->formatBeginArray(); |
|
296 | ||
297 | for ($i = 0; $i !== $numElements; ++$i) |
|
298 | { |
|
299 | if ($i !== 0) |
|
300 | { |
|
301 | $this->jsonBinaryDecoderFormatter->formatNextEntry(); |
|
302 | } |
|
303 | ||
304 | /* @var JsonBinaryDecoderValue[] $entries */ |
|
305 | $this->assignValues($entries[$i]); |
|
306 | } |
|
307 | ||
308 | $this->jsonBinaryDecoderFormatter->formatEndArray(); |
|
309 | } |