Home
last modified time | relevance | path

Searched refs:serializer (Results 26 – 50 of 56) sorted by last modified time

123

/plugin/codemirror/dist/modes/
H A Dwebidl.min.js.map1 …able\", \"legacycaller\", \"maplike\",\n \"partial\", \"required\", \"serializer\", \"setlike\", …
/plugin/sequencediagram/bower_components/lodash/
H A Dyarn.lock901 dom-serializer "~0.1.0"
1185 dom-serializer@~0.1.0, dom-serializer@0:
1187 …resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.1.0.tgz#073c697546ce0780c…
1214 dom-serializer "0"
/plugin/findologicxmlexport/vendor/jms/serializer/
H A DMETA.md6 github_changelog_generator --user=schmittjoh --project=serializer --pull-requests --no-compare-link…
H A DUPGRADING.md50 - [Here](https://github.com/schmittjoh/serializer/milestone/3) a list of issues and pull requests l…
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 …]
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 …]
/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/doc/
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 Dindex.rst26 composer require jms/serializer
34 $serializer = JMS\Serializer\SerializerBuilder::create()->build();
35 $jsonContent = $serializer->serialize($data, 'json');
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
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');
/plugin/findologicxmlexport/vendor/jms/serializer/doc/reference/
H A Dannotations.rst56 $serializer = \JMS\Serializer\SerializerBuilder::create()
93 the properties should be accessed. By default, the serializer will retrieve, or
406 …ne jms/serializer is used then default format is `\DateTime::ISO8601` (which is not compatible wit…
H A Dxml_reference.rst5 <!-- MyBundle\Resources\config\serializer\Fully.Qualified.ClassName.xml -->
7 <serializer>
105 </serializer>
H A Dyml_reference.rst5 # Vendor\MyBundle\Resources\config\serializer\Model.ClassName.yml
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/Doctrine/
H A DIntegrationTest.php38 private $serializer; variable in JMS\\Serializer\\Tests\\Serializer\\Doctrine\\IntegrationTest
43 $json = $this->serializer->serialize($school, 'json');
46 $deserialized = $this->serializer->deserialize($json, Organization::class, 'json');
53 $json = $this->serializer->serialize($student, 'json');
56 $deserialized = $this->serializer->deserialize($json, Person::class, 'json');
80 $json = $this->serializer->serialize($reloadedClass, 'json');
104 $this->serializer = SerializerBuilder::create()
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/
H A DJsonSerializationTest.php327 …uals('{"jim":{"full_name":"Jim"},"mark":{"full_name":"Mark"}}', $this->serializer->serialize($data…
328 …self::assertEquals('[{"full_name":"Jim"},{"full_name":"Mark"}]', $this->serializer->serialize($dat…
329 …uals('{"jim":{"full_name":"Jim"},"mark":{"full_name":"Mark"}}', $this->serializer->serialize($data…
335 …self::assertEquals('[{"full_name":"Jim"},{"full_name":"Mark"}]', $this->serializer->serialize($dat…
336 …self::assertEquals('{"0":{"full_name":"Jim"},"1":{"full_name":"Mark"}}', $this->serializer->serial…
337 …self::assertEquals('{"0":{"full_name":"Jim"},"1":{"full_name":"Mark"}}', $this->serializer->serial…
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 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/findologicxmlexport/vendor/jms/serializer/doc/cookbook/
H A Dexclusion_strategies.rst6 The serializer supports different exclusion strategies. Each strategy allows
26 * The following annotations tells the serializer to skip all properties which
80 …$serializer->serialize(new VersionObject(), 'json', SerializationContext::create()->setVersion(1));
115 You can then tell the serializer which groups to serialize in your controller::
119 …$serializer->serialize(new BlogPost(), 'json', SerializationContext::create()->setGroups(array('li…
123 …$serializer->serialize(new BlogPost(), 'json', SerializationContext::create()->setGroups(array('De…
198 $serializer->serialize($john, 'json', $context);
261 You need to tell the serializer to take into account MaxDepth checks::
265 $serializer->serialize($data, 'json', SerializationContext::create()->enableMaxDepthChecks());
297 To enable this feature you have to set the Expression Evaluator when initializing the serializer.
[all …]
H A Dstdclass.rst4 The serializer offers support for serializing ``stdClass`` objects, however the use of
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/tests/Handler/
H A DArrayCollectionDepthTest.php19 private $serializer; variable in JMS\\Serializer\\Tests\\Handler\\ArrayCollectionDepthTest
23 $this->serializer = SerializerBuilder::create()->build();
35 … $result = $this->serializer->serialize(new CollectionWrapper($collection), 'json', $context);

123