Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. functions.php

64 calls to json_decode()

AbstractWebDriver::curl in vendor/lullabot/php-webdriver/lib/WebDriver/AbstractWebDriver.php
Curl request to webdriver server.
Application::doRun in vendor/composer/composer/src/Composer/Console/Application.php
Runs the current application.
AttributeParser::forMethod in vendor/phpunit/phpunit/src/Metadata/Parser/AttributeParser.php
@psalm-param class-string $className @psalm-param non-empty-string $methodName
BaseConstraint::arrayToObjectRecursive in vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/BaseConstraint.php
Recursively cast an associative array to an object
BulkForm::loadEntityFromBulkFormKey in core/modules/views/src/Plugin/views/field/BulkForm.php
Loads an entity based on a bulk form key.
Cache::load in vendor/squizlabs/php_codesniffer/src/Util/Cache.php
Loads existing cache data for the run, if any.
ComponentGenerator::getPackage in composer/Generator/ComponentGenerator.php
Reconcile component dependencies with core.
ComposerInspector::getAllowPluginsConfig in core/modules/package_manager/src/ComposerInspector.php
Returns the value of `allow-plugins` config setting.
ComposerInspector::getPackageTypes in core/modules/package_manager/src/ComposerInspector.php
Loads package types from the lock file.
ComposerIsAvailable::isValidExecutable in vendor/php-tuf/composer-stager/src/Internal/Precondition/Service/ComposerIsAvailable.php
ComposerRepository::loadIncludes in vendor/composer/composer/src/Composer/Repository/ComposerRepository.php
ComposerRepository::loadProviderListings in vendor/composer/composer/src/Composer/Repository/ComposerRepository.php
ComposerRepository::loadRootServerFile in vendor/composer/composer/src/Composer/Repository/ComposerRepository.php
ComposerRepository::startCachedAsyncDownload in vendor/composer/composer/src/Composer/Repository/ComposerRepository.php
@phpstan-return PromiseInterface<array{mixed, string}>
ComposerRepository::whatProvides in vendor/composer/composer/src/Composer/Repository/ComposerRepository.php
@phpstan-param array<key-of<BasePackage::STABILITIES>, BasePackage::STABILITY_*>|null $acceptableStabilities
ComposerValidator::validate in core/modules/package_manager/src/Validator/ComposerValidator.php
Validates that the Composer executable is the correct version.
CurlDownloader::tick in vendor/composer/composer/src/Composer/Util/Http/CurlDownloader.php
DataProvider::dataProvidedByTestWithAnnotation in vendor/phpunit/phpunit/src/Metadata/Api/DataProvider.php
@psalm-param class-string $className
DataProviderHelperFactory::create in vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/DataProviderHelperFactory.php
DefaultResultCache::load in vendor/phpunit/phpunit/src/Runner/ResultCache/DefaultResultCache.php
DrupalCoreComposer::loadJsonFromPath in composer/Generator/Util/DrupalCoreComposer.php
Load json data from the specified path.
DrupalFinder::findAndValidateRoots in vendor/webflo/drupal-finder/src/DrupalFinder.php
Determine if a valid Drupal root exists.
EnvVarProcessor::getEnv in vendor/symfony/dependency-injection/EnvVarProcessor.php
Returns the value of the given variable as managed by the current instance.
ESLintSniff::process in vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Debug/ESLintSniff.php
Processes the tokens that this sniff is interested in.
Factory::loadComposerAuthEnv in vendor/composer/composer/src/Composer/Factory.php
GitLab::authorizeOAuthInteractively in vendor/composer/composer/src/Composer/Util/GitLab.php
Authorizes a GitLab domain interactively via OAuth.
IsJson::determineJsonError in vendor/phpunit/phpunit/src/Framework/Constraint/String/IsJson.php
IsJson::matches in vendor/phpunit/phpunit/src/Framework/Constraint/String/IsJson.php
Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.
Json::canonicalize in vendor/phpunit/phpunit/src/Util/Json.php
To allow comparison of JSON strings, first process them into a consistent format so that they can be compared as strings.
Json::decode in core/lib/Drupal/Component/Serialization/Json.php
Decodes data from the serialization format.
Json::prettify in vendor/phpunit/phpunit/src/Util/Json.php
JsonDecode::decode in vendor/symfony/serializer/Encoder/JsonDecode.php
Decodes data.
JsonDecoder::decode in vendor/nikic/php-parser/lib/PhpParser/JsonDecoder.php
JsonFile::parseJson in vendor/composer/composer/src/Composer/Json/JsonFile.php
Parses json string and returns hash.
JsonFile::validateSchema in vendor/composer/composer/src/Composer/Json/JsonFile.php
Validates the schema of the current json file according to composer-schema.json rules
JsonManipulator::addLink in vendor/composer/composer/src/Composer/Json/JsonManipulator.php
JsonManipulator::addMainKey in vendor/composer/composer/src/Composer/Json/JsonManipulator.php
JsonManipulator::addSubNode in vendor/composer/composer/src/Composer/Json/JsonManipulator.php
JsonManipulator::removeMainKey in vendor/composer/composer/src/Composer/Json/JsonManipulator.php
JsonManipulator::removeSubNode in vendor/composer/composer/src/Composer/Json/JsonManipulator.php
JsonMatches::fail in vendor/phpunit/phpunit/src/Framework/Constraint/JsonMatches.php
Throws an exception for the given compared value and test description.
JsonResponse::setEncodingOptions in vendor/symfony/http-foundation/JsonResponse.php
Sets options used while encoding data to JSON.
Message::parseFromJsonStream in vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php
@ignore
Message::__debugInfo in vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php
PackageDiscoveryTrait::getMinimumStability in vendor/composer/composer/src/Composer/Command/PackageDiscoveryTrait.php
Perforce::getComposerInformation in vendor/composer/composer/src/Composer/Util/Perforce.php
ProcessOutputCallback::parseJsonOutput in core/modules/package_manager/src/ProcessOutputCallback.php
Gets the parsed JSON output.
ProtobufSerializer::postProcessJsonEnumValues in vendor/open-telemetry/exporter-otlp/ProtobufSerializer.php
Workaround until protobuf exposes `FormatEnumsAsIntegers` option.
PsrHttpFactory::createRequest in vendor/symfony/psr-http-message-bridge/Factory/PsrHttpFactory.php
Creates a PSR-7 Request instance from a Symfony one.
RemoteFilesystem::get in vendor/composer/composer/src/Composer/Util/RemoteFilesystem.php
Get file content or copy action.
Request::getPayload in vendor/symfony/http-foundation/Request.php
Gets the decoded form or json request body.
Request::toArray in vendor/symfony/http-foundation/Request.php
Gets the request body decoded as array, typically from a JSON payload.
RequestDataCollector::collect in vendor/symfony/http-kernel/DataCollector/RequestDataCollector.php
Collects data for the given Request and Response.
RequestDataCollector::getPrettyJson in vendor/symfony/http-kernel/DataCollector/RequestDataCollector.php
ResourceResponseValidator::validateResponse in core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php
Validates a response against the JSON:API specification.
Response::toArray in vendor/symfony/browser-kit/Response.php
SauceRest::execute in vendor/lullabot/php-webdriver/lib/WebDriver/SauceLabs/SauceRest.php
Execute Sauce Labs REST API command
SelfUpdateCommand::execute in vendor/composer/composer/src/Composer/Command/SelfUpdateCommand.php
SessionCookieJar::load in vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php
Load the contents of the client session into the data array
SpdxLicenses::loadExceptions in vendor/composer/spdx-licenses/src/SpdxLicenses.php
SpdxLicenses::loadLicenses in vendor/composer/spdx-licenses/src/SpdxLicenses.php
Time::unserialize in vendor/ramsey/uuid/src/Type/Time.php
Constructs the object from a serialized string representation
UriRetriever::loadSchema in vendor/justinrainbow/json-schema/src/JsonSchema/Uri/UriRetriever.php
Fetch a schema from the given URI, json-decode it and return it. Caches schema objects.
Utils::jsonDecode in vendor/guzzlehttp/guzzle/src/Utils.php
Wrapper for json_decode that throws when an error occurs.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal