Search for all
- Search 7.x for all
- Search 9.5.x for all
- Search 8.9.x for all
- Search 10.3.x for all
- Search 11.x for all
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| JsonEncoder.php | file | core/ |
|
| JsonEncoder::$format | property | core/ |
The formats that this Encoder supports. |
| JsonEncoder::$format | property | core/ |
The formats that this Encoder supports. |
| JsonEncoder::supportsDecoding | function | core/ |
|
| JsonEncoder::supportsEncoding | function | core/ |
|
| JsonEncoder::__construct | function | core/ |
|
| JsonEncoderTest | class | core/ |
Tests Drupal\serialization\Encoder\JsonEncoder. |
| JsonEncoderTest | class | core/ |
Tests the JSON:API encoder. |
| JsonEncoderTest.php | file | core/ |
|
| JsonEncoderTest.php | file | core/ |
|
| JsonEncoderTest::$encoder | property | core/ |
The encoder under test. |
| JsonEncoderTest::$encoder | property | core/ |
The encoder under test. |
| JsonEncoderTest::setUp | function | core/ |
|
| JsonEncoderTest::setUp | function | core/ |
|
| JsonEncoderTest::testEncodeInvalidUtf8IsSubstituted | function | core/ |
Tests that invalid UTF-8 is handled via JSON_INVALID_UTF8_SUBSTITUTE. |
| JsonEncoderTest::testHtmlUnsafeCharactersAreEscaped | function | core/ |
Tests that HTML-unsafe characters are still escaped. |
| JsonEncoderTest::testInheritsControlCharacterHandling | function | core/ |
Tests JSON:API encoder inherits control character handling. |
| JsonEncoderTest::testStructuredDataSmokeTest | function | core/ |
Simple structured data smoke test. |
| JsonEncoderTest::testSupportsEncoding | function | core/ |
Tests the supportsEncoding() method. |
| JsonEncoderTest::testSupportsEncoding | function | core/ |
Tests the supportsEncoding() method. |
| JsonRenderer | class | core/ |
Default main content renderer for JSON requests. |
| JsonRenderer.php | file | core/ |
|
| JsonRenderer::$renderer | property | core/ |
The renderer service. |
| JsonRenderer::$titleResolver | property | core/ |
The title resolver. |
| JsonRenderer::renderResponse | function | core/ |
Renders the main content render array into a response. |
| JsonRenderer::__construct | function | core/ |
Constructs a new JsonRenderer. |
| JsonSchema | class | core/ |
Attribute for methods to express the JSON Schema of its return value. |
| JsonSchema.php | file | core/ |
|
| JsonSchema::getJsonSchema | function | core/ |
Get a JSON Schema type definition array. |
| JsonSchema::__construct | function | core/ |
Constructor. |
| JsonSchemaProviderSerializerInterface | interface | core/ |
Interface for JSON schema provider. |
| JsonSchemaProviderSerializerInterface.php | file | core/ |
|
| JsonSchemaProviderSerializerInterface::getJsonSchema | function | core/ |
Convenience method to get a JSON schema. |
| JsonSchemaProviderSerializerTrait | trait | core/ |
Trait for normalizing the JSON schema. |
| JsonSchemaProviderSerializerTrait.php | file | core/ |
|
| JsonSchemaProviderSerializerTrait::getJsonSchema | function | core/ |
|
| JsonSchemaReflectionTrait | trait | core/ |
Interface for using reflection with the JSON object. |
| JsonSchemaReflectionTrait.php | file | core/ |
|
| JsonSchemaReflectionTrait::getJsonSchemaForMethod | function | core/ |
Get a JSON Schema based on method reflection. |
| JsonSchemaTestTrait | trait | core/ |
Trait for testing JSON Schema validity and fit to sample data. |
| JsonSchemaTestTrait.php | file | core/ |
|
| JsonSchemaTestTrait::doCheckSchemaAgainstMetaSchema | function | core/ |
Check a schema is valid against the meta-schema. |
| JsonSchemaTestTrait::doProphesize | function | core/ |
Method to make prophecy public for use in data provider closures. |
| JsonSchemaTestTrait::doTestJsonSchemaIsValid | function | core/ |
Validate the normalizer's JSON schema. |
| JsonSchemaTestTrait::getJsonSchemaTestNormalizationFormat | function | core/ |
Format that should be used when performing test normalizations. |
| JsonSchemaTestTrait::getNormalizationForValue | function | core/ |
Get the normalization for a value. |
| JsonSchemaTestTrait::getNormalizer | function | core/ |
Helper method to retrieve the normalizer. |
| JsonSchemaTestTrait::getValidator | function | core/ |
Get the JSON Schema Validator. |
| JsonSchemaTestTrait::jsonSchemaDataProvider | function | core/ |
Data provider for ::testNormalizedValuesAgainstJsonSchema. |
| JsonSchemaTestTrait::supportedTypesDataProvider | function | core/ |
Pagination
- Previous page
- Page 891
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.