You are here

protected function JsonEncoderTest::getJsonSource in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/serializer/Tests/Encoder/JsonEncoderTest.php \Symfony\Component\Serializer\Tests\Encoder\JsonEncoderTest::getJsonSource()
1 call to JsonEncoderTest::getJsonSource()
JsonEncoderTest::testComplexObject in vendor/symfony/serializer/Tests/Encoder/JsonEncoderTest.php

File

vendor/symfony/serializer/Tests/Encoder/JsonEncoderTest.php, line 64

Class

JsonEncoderTest

Namespace

Symfony\Component\Serializer\Tests\Encoder

Code

protected function getJsonSource() {
  return '{"foo":"foo","bar":["a","b"],"baz":{"key":"val","key2":"val","A B":"bar","item":[{"title":"title1"},{"title":"title2"}],"Barry":{"FooBar":{"Baz":"Ed","@id":1}}},"qux":"1"}';
}