Home
last modified time | relevance | path

Searched refs:serialize (Results 1 – 25 of 542) sorted by relevance

12345678910>>...22

/plugin/findologicxmlexport/vendor/jms/serializer/doc/cookbook/
H A Darrays.rst8 to configure its behavior, but if we try to serialize directly an array
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/
H A DBaseSerializationTest.php179 $this->serialize($typeAliasing)
224 $this->serialize(null, $context);
270 $this->serialize($person);
862 $result = $this->serialize($inline);
873 $result = $this->serialize($inline);
1028 $this->serialize($form);
1162 $this->serializer->serialize(
1289 $this->serialize(new Car(5))
1293 $this->serialize(new Post('Post Title'))
1365 $this->serialize($garage)
[all …]
H A DJsonSerializationTest.php137 self::assertEquals('{}', $this->serialize($object));
159 self::assertSame($expected, $this->serialize($collection));
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);
335 …Equals('[{"full_name":"Jim"},{"full_name":"Mark"}]', $this->serializer->serialize($data, $this->ge…
379 self::assertEquals($expected, $this->serialize($array, $context));
[all …]
H A DXmlSerializationTest.php55 $this->serialize($obj);
103 … self::assertEquals($this->getContent('person_location'), $this->serialize($personCollection));
115 … self::assertEquals($this->getContent('person_collection'), $this->serialize($personCollection));
189 …$this->serialize(new ObjectWithVirtualXmlProperties(), SerializationContext::create()->setGroups([…
197 …$this->serialize(new ObjectWithVirtualXmlProperties(), SerializationContext::create()->setGroups([…
236 $this->serialize($object, SerializationContext::create())
263 $this->serialize($object, SerializationContext::create())
338 $this->serializer->serialize(new Input($attributes), $this->getFormat());
359 $this->serialize($object, SerializationContext::create())
375 $serialized = $this->serialize($object);
[all …]
/plugin/findologicxmlexport/vendor/jms/serializer/doc/
H A Dusage.rst6 Most common usage is probably to serialize objects. This can be achieved
16 $serializer->serialize($object, 'json');
17 $serializer->serialize($object, 'xml');
21 {{ object | serialize }} {# uses JSON #}
22 {{ object | serialize('json') }}
23 {{ object | serialize('xml') }}
/plugin/icalevents/vendor/sabre/vobject/tests/VObject/Splitter/
H A DICalendarTest.php41 $return .= $object->serialize();
80 $return .= $object->serialize();
139 $return .= $object->serialize();
141 $this->assertEquals($expected, $object->serialize());
167 $return .= $object->serialize();
275 $this->assertEquals($expected, $object->serialize());
276 $return .= $object->serialize();
318 $return .= $object->serialize();
/plugin/davcard/vendor/sabre/vobject/tests/VObject/Splitter/
H A DICalendarTest.php41 $return .= $object->serialize();
80 $return .= $object->serialize();
139 $return .= $object->serialize();
141 $this->assertEquals($expected, $object->serialize());
167 $return .= $object->serialize();
275 $this->assertEquals($expected, $object->serialize());
276 $return .= $object->serialize();
318 $return .= $object->serialize();
/plugin/webdavclient/vendor/sabre/vobject/tests/VObject/Splitter/
H A DICalendarTest.php41 $return .= $object->serialize();
80 $return .= $object->serialize();
139 $return .= $object->serialize();
141 $this->assertEquals($expected, $object->serialize());
167 $return .= $object->serialize();
275 $this->assertEquals($expected, $object->serialize());
276 $return .= $object->serialize();
318 $return .= $object->serialize();
/plugin/davcal/vendor/sabre/vobject/tests/VObject/Splitter/
H A DICalendarTest.php41 $return .= $object->serialize();
80 $return .= $object->serialize();
139 $return .= $object->serialize();
141 $this->assertEquals($expected, $object->serialize());
167 $return .= $object->serialize();
275 $this->assertEquals($expected, $object->serialize());
276 $return .= $object->serialize();
318 $return .= $object->serialize();
/plugin/findologicxmlexport/vendor/jms/serializer/tests/
H A DSerializerBuilderTest.php32 self::assertEquals('"foo"', $serializer->serialize('foo', 'json'));
35 ', $serializer->serialize('foo', 'xml'));
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'));
88 … self::assertEquals('{}', $this->builder->build()->serialize(new \DateTime('2020-04-16'), 'json'));
102 $this->builder->build()->serialize('foo', 'xml');
143 $result = $serializer->serialize(['value' => null], 'json');
176 $result = $serializer->serialize(['value' => null], 'json');
190 $result = $serializer->serialize(['value' => null, 'not_null' => 'ok'], 'json');
236 self::assertEquals($json, $serializer->serialize($person, 'json'));
[all …]
/plugin/icalevents/vendor/sabre/vobject/tests/VObject/
H A DParameterTest.php70 $this->assertEquals('NAME=value', $param->serialize());
78 $this->assertEquals('NAME=', $param->serialize());
86 $this->assertEquals('NAME=val1,"val2;","val3^^","val4^n","val5^\'"', $param->serialize());
100 $this->assertEquals('EMAIL="user+something@example.org"', $param->serialize());
123 $this->assertEquals('NAME="va:lue"', $param->serialize());
131 $this->assertEquals('NAME="va;lue"', $param->serialize());
H A DVCard21Test.php21 $output = $vobj->serialize();
38 $output = $vobj->serialize();
/plugin/davcard/vendor/sabre/vobject/tests/VObject/
H A DParameterTest.php70 $this->assertEquals('NAME=value',$param->serialize());
78 $this->assertEquals('NAME=',$param->serialize());
86 $this->assertEquals('NAME=val1,"val2;","val3^^","val4^n","val5^\'"',$param->serialize());
100 $this->assertEquals('EMAIL="user+something@example.org"',$param->serialize());
123 $this->assertEquals('NAME="va:lue"',$param->serialize());
131 $this->assertEquals('NAME="va;lue"',$param->serialize());
H A DVCard21Test.php21 $output = $vobj->serialize($input);
38 $output = $vobj->serialize($input);
/plugin/webdavclient/vendor/sabre/vobject/tests/VObject/
H A DParameterTest.php70 $this->assertEquals('NAME=value',$param->serialize());
78 $this->assertEquals('NAME=',$param->serialize());
86 $this->assertEquals('NAME=val1,"val2;","val3^^","val4^n","val5^\'"',$param->serialize());
100 $this->assertEquals('EMAIL="user+something@example.org"',$param->serialize());
123 $this->assertEquals('NAME="va:lue"',$param->serialize());
131 $this->assertEquals('NAME="va;lue"',$param->serialize());
H A DVCard21Test.php21 $output = $vobj->serialize($input);
38 $output = $vobj->serialize($input);
/plugin/davcal/vendor/sabre/vobject/tests/VObject/
H A DParameterTest.php70 $this->assertEquals('NAME=value',$param->serialize());
78 $this->assertEquals('NAME=',$param->serialize());
86 $this->assertEquals('NAME=val1,"val2;","val3^^","val4^n","val5^\'"',$param->serialize());
100 $this->assertEquals('EMAIL="user+something@example.org"',$param->serialize());
123 $this->assertEquals('NAME="va:lue"',$param->serialize());
131 $this->assertEquals('NAME="va;lue"',$param->serialize());
H A DVCard21Test.php21 $output = $vobj->serialize($input);
38 $output = $vobj->serialize($input);
/plugin/icalevents/vendor/sabre/vobject/bin/
H A Dmergeduplicates.php81 fwrite($output, $vcard->serialize() . "\n");
122 if ($compareProp->serialize() === $newProp->serialize()) {
160 …uplicate. Earlier vcard:\n" . $collectedNames[$fn]->serialize() . "\n\nLater:\n" . $vcard->seriali…
H A Dbench_manipulatevcard.php40 $bench->serialize->start();
41 $vcard2 = $vcard->serialize();
42 $bench->serialize->pause();
/plugin/findologicxmlexport/vendor/jms/serializer/src/Expression/
H A DExpression.php48 public function serialize() function in JMS\\Serializer\\Expression\\Expression
50 return serialize([(string) $this->expression, serialize($this->expression->getNodes())]);
/plugin/findologicxmlexport/vendor/jms/serializer/src/Metadata/
H A DExpressionPropertyMetadata.php40 public function serialize() function in JMS\\Serializer\\Metadata\\ExpressionPropertyMetadata
42 return serialize([
44 parent::serialize(),
H A DStaticPropertyMetadata.php45 public function serialize() function in JMS\\Serializer\\Metadata\\StaticPropertyMetadata
47 return serialize([
49 parent::serialize(),
/plugin/fedauth/js/
H A Dadmin.js68 jQuery('#fa__large form').serialize()+'&ajax=details&fa[details]['+target+']',
81 …var data = decodeURIComponent(jQuery('#fa__'+target+' form').serialize())+'&ajax=toggle&fa[toggle]…
99 … { data: jQuery('#fa__large form').serialize()+'&ajax=moveup&fa[moveup]['+target+']' })
120 … { data: jQuery('#fa__large form').serialize()+'&ajax=movedn&fa[movedn]['+target+']' })
141 … { data: jQuery('#fa__large form').serialize()+'&ajax=uselarge&fa[uselarge]['+target+']' })
165 … { data: jQuery('#fa__large form').serialize()+'&ajax=usesmall&fa[usesmall]['+target+']' })
/plugin/findologicxmlexport/vendor/jms/metadata/src/
H A DPropertyMetadata.php40 public function serialize() function in Metadata\\PropertyMetadata
42 return serialize([

12345678910>>...22