Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
common.inc
»
drupal_json_decode
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
14 calls to drupal_json_decode()
DBLogTest::testWatchdog
in drupal/
core/
modules/
rest/
lib/
Drupal/
rest/
Tests/
DBLogTest.php
Writes a log messages and retrieves it via the web API.
EmailTest::testFormEmail
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
EmailTest.php
Tests that #type 'email' fields are properly validated.
FormTest::testCheckboxProcessing
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
FormTest.php
Test default value handling for checkboxes.
FormTest::testDisabledElements
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
FormTest.php
Test handling of disabled elements.
FormTest::testSelect
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
FormTest.php
Tests validation of #type 'select' elements.
JsonUnitTest::testJSON
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JsonUnitTest.php
Tests converting PHP variables to JSON strings and back.
LanguageSelectElementTest::testHiddenLanguageSelectElement
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
LanguageSelectElementTest.php
Tests the case when the language select elements should not be printed.
ReadTest::testRead
in drupal/
core/
modules/
rest/
lib/
Drupal/
rest/
Tests/
ReadTest.php
Tests several valid and invalid read requests on all entity types.
StateValuesCleanTest::testFormStateValuesClean
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
StateValuesCleanTest.php
Tests
form_state_values_clean
().
TermTest::testTermAutocompletion
in drupal/
core/
modules/
taxonomy/
lib/
Drupal/
taxonomy/
Tests/
TermTest.php
Tests term autocompletion edge cases with slashes in the names.
UrlTest::testFormUrl
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
UrlTest.php
Tests that #type 'url' fields are properly validated and trimmed.
WebTestBase::drupalGetAJAX
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Retrieve a Drupal path or an absolute path and JSON decode the result.
WebTestBase::drupalPostAJAX
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Execute an Ajax submission.
WebTestBase::drupalSetContent
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Sets the raw HTML content. This can be useful when a page has been fetched outside of the internal browser and assertions need to be made on the returned page.