Lines Matching refs:deserialize
151 $dObj = $this->serializer->deserialize(
202 $dObj = $this->serializer->deserialize(
219 self::assertEquals(null, $this->deserialize($this->getContent('null'), $type));
236 self::assertEquals(null, $this->deserialize($this->getContent('null'), $type));
257 self::assertEquals('foo', $this->deserialize($this->getContent('string'), 'string'));
394 …self::assertSame($boolean, $this->deserialize($this->getContent('boolean_' . $strBoolean), 'boolea…
411 self::assertEquals($value, $this->deserialize($this->getContent($key), $type));
441 …$this->assertEquals($obj, $this->deserialize($this->getContent('simple_object'), get_class($obj)));
450 … self::assertEquals($obj, $this->deserialize($this->getContent('simple_object'), get_class($obj)));
459 …$this->assertEquals($obj, $this->deserialize($this->getContent('simple_object'), get_class($obj)));
469 …self::assertEquals($data, $this->deserialize($this->getContent('array_strings'), 'array<string>'));
479 …self::assertEquals($data, $this->deserialize($this->getContent('array_booleans'), 'array<boolean>'…
489 …self::assertEquals($data, $this->deserialize($this->getContent('array_integers'), 'array<integer>'…
503 … self::assertEquals($data, $this->deserialize($this->getContent('array_empty'), 'array'));
513 … self::assertEquals($data, $this->deserialize($this->getContent('array_floats'), 'array<double>'));
523 …self::assertEquals($data, $this->deserialize($this->getContent('array_objects'), 'array<JMS\Serial…
549 …$deserializedObject = $this->deserialize($this->getContent('array_datetimes_object'), 'Jms\Seriali…
583 …$deserializedObject = $this->deserialize($this->getContent('array_named_datetimes_object'), 'Jms\S…
614 …$deserializedObject = $this->deserialize($this->getContent('array_named_datetimeimmutables_object'…
639 $deserialized = $this->deserialize($this->getContent($key), $type);
663 $deserialized = $this->deserialize($this->getContent($key), $type);
684 $deserialized = $this->deserialize($this->getContent('timestamp'), Timestamp::class);
688 … $deserialized = $this->deserialize($this->getContent('timestamp_prev'), Timestamp::class);
701 … $deserialized = $this->deserialize($this->getContent('date_interval'), \DateInterval::class);
718 $deserialized = $this->deserialize($this->getContent('blog_post'), get_class($post));
747 …$deserialized = $this->deserialize($this->getContent('blog_post_unauthored'), get_class($post), De…
799 $deserialized = $this->deserialize($this->getContent('readonly'), get_class($author));
811 $deserialized = $this->deserialize($this->getContent('readonly'), get_class($author));
823 $deserialized = $this->deserialize($this->getContent('price'), get_class($price));
834 … self::assertEquals($order, $this->deserialize($this->getContent('order'), get_class($order)));
844 …self::assertEquals($price, $this->deserialize($this->getContent('currency_aware_price'), get_class…
854 …self::assertEquals($order, $this->deserialize($this->getContent('order_with_currency_aware_price')…
866 … self::assertEquals($inline, $this->deserialize($this->getContent('inline'), get_class($inline)));
876 … self::assertEquals($inline, $this->deserialize($this->getContent('inline'), get_class($inline)));
923 $deserialized = $this->deserialize($this->getContent('log'), get_class($log));
941 … $deserialized = $this->deserialize($this->getContent('circular_reference'), get_class($object));
966 … $deserialized = $this->deserialize($this->getContent('lifecycle_callbacks'), get_class($object));
1087 …$object = $this->deserialize($this->getContent('mixed_access_types'), 'JMS\Serializer\Tests\Fixtur…
1238 …$object = $this->serializer->deserialize($serialized, 'CustomDeserializationObject', $this->getFor…
1303 $this->deserialize(
1312 $this->deserialize(
1321 $this->deserialize(
1330 $this->deserialize(
1339 $this->deserialize(
1348 $this->deserialize(
1371 $this->deserialize(
1393 $this->deserialize(
1411 $this->deserialize(
1463 $deseralizedOrder = $serializer->deserialize(
1542 $this->deserialize($expected, get_class($collection))
1550 …self::assertEquals($list, $this->deserialize($this->getContent('authors_inline'), AuthorsInline::c…
1567 $this->deserialize($this->getContent('generator'), get_class($withGenerator))
1585 $this->deserialize($this->getContent('iterator'), get_class($withIterator))
1611 protected function deserialize($content, $type, ?Context $context = null) function in JMS\\Serializer\\Tests\\Serializer\\BaseSerializationTest
1613 return $this->serializer->deserialize($content, $type, $this->getFormat(), $context);