Lines Matching refs:serialize
137 self::assertEquals('{}', $this->serialize($object));
159 self::assertSame($expected, $this->serialize($collection));
191 …/details\/bar","comments":"http:\/\/foo.bar\/details\/bar\/comments"}}]', $this->serialize($list));
210 …self::assertEquals('[{"full_name":"new name"},{"full_name":"new name"}]', $this->serialize($list));
279 self::assertEquals('{}', $this->serialize(new Author(null)));
290 $this->serialize(['foo' => 'bar', 'bar' => pack('H*', 'c32e')]);
301 $this->serialize(['foo' => 'bar', 'bar' => pack('H*', 'c32e')]);
306 self::assertEquals('[{}]', $this->serialize([new \stdClass()]));
312 $serialized = $this->serialize($object);
327 …":{"full_name":"Jim"},"mark":{"full_name":"Mark"}}', $this->serializer->serialize($data, $this->ge…
328 …Equals('[{"full_name":"Jim"},{"full_name":"Mark"}]', $this->serializer->serialize($data, $this->ge…
329 …":{"full_name":"Jim"},"mark":{"full_name":"Mark"}}', $this->serializer->serialize($data, $this->ge…
335 …Equals('[{"full_name":"Jim"},{"full_name":"Mark"}]', $this->serializer->serialize($data, $this->ge…
336 …{"0":{"full_name":"Jim"},"1":{"full_name":"Mark"}}', $this->serializer->serialize($data, $this->ge…
337 …{"0":{"full_name":"Jim"},"1":{"full_name":"Mark"}}', $this->serializer->serialize($data, $this->ge…
379 self::assertEquals($expected, $this->serialize($array, $context));
420 self::assertEquals($expected, $this->serialize($array, $context));