Home
last modified time | relevance | path

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

123

/plugin/findologicxmlexport/vendor/jms/serializer/
H A DCHANGELOG.md3 ## [2.2.0](https://github.com/schmittjoh/serializer/tree/2.2.0)
128 …phNavigator using \LogicException without serializer namespace [\#473](https://github.com/schmittj…
290 - @MaxDepth jms/serializer-bundle 2.2 [\#842](https://github.com/schmittjoh/serializer/issues/842)
448 - Doctrine Proxies and serializer.pre\_serialize [\#666](https://github.com/schmittjoh/serializer/i…
479 …an empty datastructure" error when multiple serializer calls [\#319](https://github.com/schmittjoh…
700 - serializer doesn't serialize traits [\#638](https://github.com/schmittjoh/serializer/issues/638)
703 …et default serialization context when building serializer [\#528](https://github.com/schmittjoh/se…
737 - serializer ignores properties added by traits [\#313](https://github.com/schmittjoh/serializer/is…
739 - Using serializer for JSON serialising [\#223](https://github.com/schmittjoh/serializer/issues/223)
761 - serializer.pre\_serialize event only thrown on objects/classes [\#337](https://github.com/schmitt…
[all …]
H A 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
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
53 …[1.x coverage image]: https://img.shields.io/scrutinizer/coverage/g/schmittjoh/serializer/1.x.svg?…
[all …]
/plugin/findologicxmlexport/vendor/jms/serializer/tests/
H A DSerializerBuilderTest.php30 $serializer = $this->builder->build();
35 ', $serializer->serialize('foo', 'xml'));
46 $serializer = $this->builder->build();
59 $serializer = $this->builder->build();
76 $serializer = $this->builder->build();
141 $serializer = $this->builder->build();
160 $serializer = $this->builder->build();
174 $serializer = $this->builder->build();
188 $serializer = $this->builder->build();
230 $serializer = $this->builder->build();
[all …]
/plugin/findologicxmlexport/vendor/jms/serializer/doc/cookbook/
H A 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/src/Twig/
H A 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);
H A 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/findologicxmlexport/vendor/jms/serializer/tests/Serializer/
H A 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);
H A 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');
H A DXmlSerializationTest.php156 $serializer = $builder->build();
158 $serializer->deserialize('<?xml version="1.0"?>
162 $serializer->deserialize('<?xml version="1.0"?>
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();
312 …self::assertEquals($this->getContent($key . '_no_cdata'), $serializer->serialize($value, $this->ge…
325 $serializer = $builder->build();
327 …self::assertEquals($this->getContent($key . '_no_cdata'), $serializer->serialize($value, $this->ge…
[all …]
H A 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);
H A DBaseSerializationTest.php127 protected $serializer; variable in JMS\\Serializer\\Tests\\Serializer\\BaseSerializationTest
151 $dObj = $this->serializer->deserialize(
202 $dObj = $this->serializer->deserialize(
288 $serializer = $builder->build();
381 $serializer = $builder->build();
434 $this->serializer = $builder->build();
764 $serializer = $builder->build();
776 $serializer = $builder->build();
1162 $this->serializer->serialize(
1207 $serializer = $builder->build();
[all …]
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/
H A 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/
H A 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');
H A 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 =
48 If you have created custom handlers, you can add them to the serializer easily::
50 $serializer =
71 $serializer =
90 $serializer = JMS\Serializer\SerializerBuilder::create()
[all …]
H A 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/src/Elasticsearch/Endpoints/TextStructure/
H A 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/
H A DFindFileStructure.php34 public function __construct(SerializerInterface $serializer) argument
36 $this->serializer = $serializer;
77 $this->body .= $this->serializer->serialize($item) . "\n";
H A 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/docs/
H A 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
59 serializer.
75 empty array, the serializer manually converts the JSON from an empty array
102 serializer.
143 serializer.
149 If you want to use your own custom serializer, you need to implement the
221 $serializer = '\Elasticsearch\Serializers\SmartSerializer';
[all …]
H A 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/Monitoring/
H A 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/
H A DBulk.php34 public function __construct(SerializerInterface $serializer) argument
36 $this->serializer = $serializer;
84 $this->body .= $this->serializer->serialize($item) . "\n";
H A DMsearch.php34 public function __construct(SerializerInterface $serializer) argument
36 $this->serializer = $serializer;
81 $this->body .= $this->serializer->serialize($item) . "\n";
H A DMsearchTemplate.php34 public function __construct(SerializerInterface $serializer) argument
36 $this->serializer = $serializer;
79 $this->body .= $this->serializer->serialize($item) . "\n";
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/
H A 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;
670 $serializer = $this->serializer;
672 $this->endpoint = function ($class) use ($serializer) {
679 return new $fullPath($serializer);
[all …]

123