Home
last modified time | relevance | path

Searched refs:serializer (Results 1 – 25 of 58) sorted by relevance

123

/plugin/findologicxmlexport/vendor/jms/serializer/
DCHANGELOG.md3 ## [2.2.0](https://github.com/schmittjoh/serializer/tree/2.2.0)
7 - Add Iterator Handler [\#1034](https://github.com/schmittjoh/serializer/pull/1034) ([scyzoryck](ht…
12 …x missing from unserialized metadata [\#1050](https://github.com/schmittjoh/serializer/issues/1050)
13 …oding of doubles, closes \#1041 [\#1042](https://github.com/schmittjoh/serializer/pull/1042) ([Gru…
17 - Using @Until and @Since on class level [\#1048](https://github.com/schmittjoh/serializer/issues/1…
18 - Add use of annotation registry to docs [\#1044](https://github.com/schmittjoh/serializer/issues/1…
19 …uld not use locale-specific encoding [\#1041](https://github.com/schmittjoh/serializer/issues/1041)
20 - Serialize Generator [\#1023](https://github.com/schmittjoh/serializer/issues/1023)
24 - Test on php 7.3 [\#1054](https://github.com/schmittjoh/serializer/pull/1054) ([goetas](https://gi…
25 …sing from unserialized metadata [\#1053](https://github.com/schmittjoh/serializer/pull/1053) ([goe…
[all …]
DREADME.md1 # jms/serializer
27 Learn more about the serializer in its [documentation](http://jmsyst.com/libs/serializer).
43 [CHANGELOG]: https://github.com/schmittjoh/serializer/blob/master/CHANGELOG.md
44 [UPGRADING]: https://github.com/schmittjoh/serializer/blob/master/UPGRADING.md
46 [Master image]: https://img.shields.io/travis/schmittjoh/serializer/master.svg?style=flat-square
47 [Master]: https://travis-ci.org/schmittjoh/serializer
48 …[Master coverage image]: https://img.shields.io/scrutinizer/coverage/g/schmittjoh/serializer/maste…
49 [Master coverage]: https://scrutinizer-ci.com/g/schmittjoh/serializer/?branch=master
51 [1.x image]: https://img.shields.io/travis/schmittjoh/serializer/1.x.svg?style=flat-square
52 [1.x]: https://github.com/schmittjoh/serializer/tree/1.x
[all …]
/plugin/findologicxmlexport/vendor/jms/serializer/tests/
DSerializerBuilderTest.php30 $serializer = $this->builder->build();
32 self::assertEquals('"foo"', $serializer->serialize('foo', 'json'));
35 ', $serializer->serialize('foo', 'xml'));
37 self::assertEquals('foo', $serializer->deserialize('"foo"', 'string', 'json'));
38 …self::assertEquals('foo', $serializer->deserialize('<?xml version="1.0" encoding="UTF-8"?><result>…
46 $serializer = $this->builder->build();
52 $factory = $this->getField($serializer, 'factory');
59 $serializer = $this->builder->build();
61 …self::assertEquals('"2020-04-16T00:00:00+00:00"', $serializer->serialize(new \DateTime('2020-04-16…
62 … self::assertEquals('[1,2,3]', $serializer->serialize(new \ArrayIterator([1, 2, 3]), 'json'));
[all …]
/plugin/findologicxmlexport/vendor/jms/serializer/doc/cookbook/
Darrays.rst7 can be challenging. The serializer offers via ``@Type`` annotation different options
22 $serializer->serialize([1, 2]); // [1, 2]
23 $serializer->serialize(['a', 'b']); // ['a', 'b']
24 $serializer->serialize(['c' => 'd']); // {"c" => "d"}
27 …$serializer->serialize([1, 2], SerializationContext::create()->setInitialType('array')); // [1, 2]
28 …$serializer->serialize([1 => 2], SerializationContext::create()->setInitialType('array')); // {"1…
29 …$serializer->serialize(['a', 'b'], SerializationContext::create()->setInitialType('array')); // […
30 …$serializer->serialize(['c' => 'd'], SerializationContext::create()->setInitialType('array')); // …
33 …$serializer->serialize([], SerializationContext::create()->setInitialType('array<integer>')); // …
34 …$serializer->serialize([1, 2], SerializationContext::create()->setInitialType('array<integer>')); …
[all …]
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/
DArrayTest.php16 protected $serializer; variable in JMS\\Serializer\\Tests\\Serializer\\ArrayTest
21 $this->serializer = $builder->build();
32 $result = $this->serializer->toArray($order);
48 $result = $this->serializer->toArray($input);
70 $result = $this->serializer->fromArray($data, 'JMS\Serializer\Tests\Fixtures\Order');
77 $result = $this->serializer->toArray(new Author(null));
87 $result = $this->serializer->toArray($list);
DSerializationContextFactoryTest.php23 protected $serializer; variable in JMS\\Serializer\\Tests\\Serializer\\SerializationContextFactoryTest
56 $serializer = $builder->build();
58 $result = $serializer->serialize(['value' => null], 'json');
75 $serializer = $builder->build();
77 $result = $serializer->deserialize('{"value":null}', 'array', 'json');
95 $serializer = $builder->build();
97 $result = $serializer->toArray(['value' => null]);
114 $serializer = $builder->build();
116 $result = $serializer->fromArray(['value' => null], 'array');
DXmlSerializationTest.php156 $serializer = $builder->build();
158 $serializer->deserialize('<?xml version="1.0"?>
162 $serializer->deserialize('<?xml version="1.0"?>
204 …$object = $this->serializer->deserialize($xml, 'JMS\Serializer\Tests\Fixtures\ObjectWithAbsentXmlL…
212 …$object = $this->serializer->deserialize($xml, 'JMS\Serializer\Tests\Fixtures\ObjectWithAbsentXmlL…
273 …self::assertEquals($this->getContent('array_key_values'), $this->serializer->serialize(new ObjectW…
279 … $result = $this->serializer->deserialize($xml, ObjectWithXmlKeyValuePairsWithType::class, 'xml');
285 …$result2 = $this->serializer->deserialize($xml2, ObjectWithXmlKeyValuePairsWithType::class, 'xml');
294 …$result = $this->serializer->deserialize($xml, ObjectWithXmlKeyValuePairsWithObjectType::class, 'x…
310 $serializer = $builder->build();
[all …]
DBaseSerializationTest.php127 protected $serializer; variable in JMS\\Serializer\\Tests\\Serializer\\BaseSerializationTest
144 …$this->serializer->serialize($arr, $this->getFormat(), SerializationContext::create()->setSerializ…
151 $dObj = $this->serializer->deserialize(
168 …$this->serializer->serialize($arr, $this->getFormat(), SerializationContext::create()->setSerializ…
189 …$this->serializer->serialize($obj, $this->getFormat(), SerializationContext::create()->setSerializ…
202 $dObj = $this->serializer->deserialize(
288 $serializer = $builder->build();
290 …self::assertEquals($this->getContent('person_secret_hide'), $serializer->serialize($person, $this-…
381 $serializer = $builder->build();
383 … self::assertEquals($this->getContent($json), $serializer->serialize($person, $this->getFormat()));
[all …]
DContextTest.php84 $serializer = SerializerBuilder::create()->build();
86 …$serializer->serialize($object, 'json', SerializationContext::create()->addExclusionStrategy($excl…
135 $serializer = SerializerBuilder::create()->build();
136 …$serializer->serialize($object, 'json', SerializationContext::create()->addExclusionStrategy($excl…
175 $serializer = SerializerBuilder::create()->build();
182 $serialized = $serializer->serialize($object, 'json', $context);
192 $serializer = SerializerBuilder::create()->build();
199 $serialized = $serializer->serialize($object, 'json', $context);
/plugin/findologicxmlexport/vendor/jms/serializer/src/Twig/
DSerializerRuntimeHelper.php18 protected $serializer; variable in JMS\\Serializer\\Twig\\SerializerRuntimeHelper
20 public function __construct(SerializerInterface $serializer) argument
22 $this->serializer = $serializer;
30 return $this->serializer->serialize($object, $type, $context);
DSerializerExtension.php20 protected $serializer; variable in JMS\\Serializer\\Twig\\SerializerExtension
32 public function __construct(SerializerInterface $serializer) argument
34 $this->serializer = $serializer;
63 return $this->serializer->serialize($object, $type, $context);
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/
DConnectionFactory.php34 private $serializer; variable in Elasticsearch\\Connections\\ConnectionFactory
51 …truct(callable $handler, array $connectionParams, SerializerInterface $serializer, LoggerInterface… argument
57 $this->serializer = $serializer;
66 $this->serializer,
/plugin/findologicxmlexport/vendor/jms/serializer/doc/
Dusage.rst15 $serializer = JMS\Serializer\SerializerBuilder::create()->build();
16 $serializer->serialize($object, 'json');
17 $serializer->serialize($object, 'xml');
34 $serializer = JMS\Serializer\SerializerBuilder::create()->build();
35 $object = $serializer->deserialize($jsonData, 'MyNamespace\MyObject', 'json');
Dconfiguration.rst20 This library provides a special builder object which makes constructing serializer instances a bree…
23 $serializer = JMS\Serializer\SerializerBuilder::create()->build();
25 This serializer is fully functional, but you might want to tweak it a bit for example to configure …
29 The serializer collects several metadata about your objects from various sources such as YML, XML, …
30 order to make this process as efficient as possible, it is encourage to let the serializer cache th…
35 $serializer =
41 As you can see, we also added a call to the ``setDebug`` method. In debug mode, the serializer will…
48 If you have created custom handlers, you can add them to the serializer easily::
50 $serializer =
71 $serializer =
[all …]
Devent_system.rst4 The serializer dispatches different events during the serialization, and
22 'event' => 'serializer.pre_serialize',
39 $dispatcher->addListener('serializer.pre_serialize',
52 serializer.pre_serialize
60 serializer.post_serialize
68 serializer.pre_deserialize
79 serializer.post_deserialize
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/
Dserializers.asciidoc5 to change the serializer, unless you have special requirements or are
8 The job of the serializer is to encode the outgoing request body and decode the
12 The default serializer is the `SmartSerializer`.
27 empty array, the serializer manually converts the JSON from an empty array
58 Note that the serializer is configured by specifying a namespace path to the
59 serializer.
75 empty array, the serializer manually converts the JSON from an empty array
101 Note that the serializer is configured by specifying a namespace path to the
102 serializer.
114 If the data provided was an empty array, the serializer manually converts the
[all …]
Dendpoint-closure.asciidoc15 $serializer = $this->serializer;
17 $newEndpoint = function ($class) use ($transport, $serializer) {
24 return new $fullPath($transport, $serializer);
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/TextStructure/
DFindStructure.php34 public function __construct(SerializerInterface $serializer) argument
36 $this->serializer = $serializer;
77 $this->body .= $this->serializer->serialize($item) . "\n";
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Ml/
DFindFileStructure.php34 public function __construct(SerializerInterface $serializer) argument
36 $this->serializer = $serializer;
77 $this->body .= $this->serializer->serialize($item) . "\n";
DPostData.php36 public function __construct(SerializerInterface $serializer) argument
38 $this->serializer = $serializer;
71 $this->body .= $this->serializer->serialize($item) . "\n";
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Monitoring/
DBulk.php34 public function __construct(SerializerInterface $serializer) argument
36 $this->serializer = $serializer;
73 $this->body .= $this->serializer->serialize($item) . "\n";
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/
DBulk.php34 public function __construct(SerializerInterface $serializer) argument
36 $this->serializer = $serializer;
84 $this->body .= $this->serializer->serialize($item) . "\n";
DMsearchTemplate.php34 public function __construct(SerializerInterface $serializer) argument
36 $this->serializer = $serializer;
79 $this->body .= $this->serializer->serialize($item) . "\n";
DMsearch.php34 public function __construct(SerializerInterface $serializer) argument
36 $this->serializer = $serializer;
81 $this->body .= $this->serializer->serialize($item) . "\n";
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/
DClientBuilder.php88 private $serializer = SmartSerializer::class; variable in Elasticsearch\\ClientBuilder
383 public function setSerializer($serializer): ClientBuilder argument
385 $this->parseStringOrObject($serializer, $this->serializer, 'SerializerInterface');
619 if (is_null($this->serializer)) {
620 $this->serializer = new SmartSerializer();
621 } elseif (is_string($this->serializer)) {
622 $this->serializer = new $this->serializer;
654 … new ConnectionFactory($this->handler, $this->connectionParams, $this->serializer, $this->logger, …
670 $serializer = $this->serializer;
672 $this->endpoint = function ($class) use ($serializer) {
[all …]

123