diff --git a/core/modules/block/lib/Drupal/block/Tests/Views/DisplayBlockTest.php b/core/modules/block/lib/Drupal/block/Tests/Views/DisplayBlockTest.php index c43f640..cb260c4 100644 --- a/core/modules/block/lib/Drupal/block/Tests/Views/DisplayBlockTest.php +++ b/core/modules/block/lib/Drupal/block/Tests/Views/DisplayBlockTest.php @@ -7,7 +7,7 @@ namespace Drupal\block\Tests\Views; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\Component\Utility\String; use Drupal\views\Views; use Drupal\views\Tests\ViewTestBase; diff --git a/core/modules/comment/lib/Drupal/comment/Tests/CommentNewIndicatorTest.php b/core/modules/comment/lib/Drupal/comment/Tests/CommentNewIndicatorTest.php index 2a3a957..60d093b 100644 --- a/core/modules/comment/lib/Drupal/comment/Tests/CommentNewIndicatorTest.php +++ b/core/modules/comment/lib/Drupal/comment/Tests/CommentNewIndicatorTest.php @@ -7,7 +7,7 @@ namespace Drupal\comment\Tests; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\Core\Language\Language; use Drupal\comment\CommentInterface; diff --git a/core/modules/contextual/contextual.module b/core/modules/contextual/contextual.module index 30017b0..d49045a 100644 --- a/core/modules/contextual/contextual.module +++ b/core/modules/contextual/contextual.module @@ -5,7 +5,7 @@ * Adds contextual links to perform actions related to elements on a page. */ -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\Component\Utility\UrlHelper; use Drupal\Core\Template\Attribute; diff --git a/core/modules/contextual/lib/Drupal/contextual/Tests/ContextualDynamicContextTest.php b/core/modules/contextual/lib/Drupal/contextual/Tests/ContextualDynamicContextTest.php index 4e1e6d0..9ea933c 100644 --- a/core/modules/contextual/lib/Drupal/contextual/Tests/ContextualDynamicContextTest.php +++ b/core/modules/contextual/lib/Drupal/contextual/Tests/ContextualDynamicContextTest.php @@ -7,7 +7,7 @@ namespace Drupal\contextual\Tests; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\simpletest\WebTestBase; use Drupal\Core\Template\Attribute; diff --git a/core/modules/edit/lib/Drupal/edit/Tests/EditAutocompleteTermTest.php b/core/modules/edit/lib/Drupal/edit/Tests/EditAutocompleteTermTest.php index 803b0e3..0532bb5 100644 --- a/core/modules/edit/lib/Drupal/edit/Tests/EditAutocompleteTermTest.php +++ b/core/modules/edit/lib/Drupal/edit/Tests/EditAutocompleteTermTest.php @@ -7,7 +7,7 @@ namespace Drupal\edit\Tests; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\Core\Field\FieldDefinitionInterface; use Drupal\Core\Language\Language; use Drupal\simpletest\WebTestBase; diff --git a/core/modules/edit/lib/Drupal/edit/Tests/EditLoadingTest.php b/core/modules/edit/lib/Drupal/edit/Tests/EditLoadingTest.php index 6ee7cee..7a99be7 100644 --- a/core/modules/edit/lib/Drupal/edit/Tests/EditLoadingTest.php +++ b/core/modules/edit/lib/Drupal/edit/Tests/EditLoadingTest.php @@ -7,7 +7,7 @@ namespace Drupal\edit\Tests; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\simpletest\WebTestBase; use Drupal\edit\Ajax\MetadataCommand; use Drupal\Core\Ajax\AppendCommand; diff --git a/core/modules/editor/lib/Drupal/editor/Tests/EditIntegrationLoadingTest.php b/core/modules/editor/lib/Drupal/editor/Tests/EditIntegrationLoadingTest.php index a66a461..a6f4ac1 100644 --- a/core/modules/editor/lib/Drupal/editor/Tests/EditIntegrationLoadingTest.php +++ b/core/modules/editor/lib/Drupal/editor/Tests/EditIntegrationLoadingTest.php @@ -7,7 +7,7 @@ namespace Drupal\editor\Tests; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\simpletest\WebTestBase; /** diff --git a/core/modules/editor/lib/Drupal/editor/Tests/EditorSecurityTest.php b/core/modules/editor/lib/Drupal/editor/Tests/EditorSecurityTest.php index 39670cc..e787d2f 100644 --- a/core/modules/editor/lib/Drupal/editor/Tests/EditorSecurityTest.php +++ b/core/modules/editor/lib/Drupal/editor/Tests/EditorSecurityTest.php @@ -7,7 +7,7 @@ namespace Drupal\editor\Tests; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\simpletest\WebTestBase; use Drupal\Component\Utility\String; diff --git a/core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceAutocompleteTest.php b/core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceAutocompleteTest.php index f27e28a..d6c7cc8 100644 --- a/core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceAutocompleteTest.php +++ b/core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceAutocompleteTest.php @@ -7,7 +7,7 @@ namespace Drupal\entity_reference\Tests; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\Component\Utility\Tags; use Drupal\entity_reference\EntityReferenceController; use Drupal\system\Tests\Entity\EntityUnitTestBase; diff --git a/core/modules/history/lib/Drupal/history/Tests/HistoryTest.php b/core/modules/history/lib/Drupal/history/Tests/HistoryTest.php index 88d3866..1506583 100644 --- a/core/modules/history/lib/Drupal/history/Tests/HistoryTest.php +++ b/core/modules/history/lib/Drupal/history/Tests/HistoryTest.php @@ -7,7 +7,7 @@ namespace Drupal\history\Tests; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\simpletest\WebTestBase; /** diff --git a/core/modules/menu/lib/Drupal/menu/Tests/MenuTest.php b/core/modules/menu/lib/Drupal/menu/Tests/MenuTest.php index f6461c9..658fcec 100644 --- a/core/modules/menu/lib/Drupal/menu/Tests/MenuTest.php +++ b/core/modules/menu/lib/Drupal/menu/Tests/MenuTest.php @@ -7,7 +7,7 @@ namespace Drupal\menu\Tests; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; /** * Defines a test class for testing menu and menu link functionality. diff --git a/core/modules/rest/lib/Drupal/rest/Tests/CreateTest.php b/core/modules/rest/lib/Drupal/rest/Tests/CreateTest.php index e33aebc..0d8d9b4 100644 --- a/core/modules/rest/lib/Drupal/rest/Tests/CreateTest.php +++ b/core/modules/rest/lib/Drupal/rest/Tests/CreateTest.php @@ -7,7 +7,7 @@ namespace Drupal\rest\Tests; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; /** * Tests resource creation on user, node and test entities. diff --git a/core/modules/rest/lib/Drupal/rest/Tests/DBLogTest.php b/core/modules/rest/lib/Drupal/rest/Tests/DBLogTest.php index 53e5ed7..83f24b6 100644 --- a/core/modules/rest/lib/Drupal/rest/Tests/DBLogTest.php +++ b/core/modules/rest/lib/Drupal/rest/Tests/DBLogTest.php @@ -7,7 +7,7 @@ namespace Drupal\rest\Tests; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\rest\Tests\RESTTestBase; /** diff --git a/core/modules/rest/lib/Drupal/rest/Tests/DeleteTest.php b/core/modules/rest/lib/Drupal/rest/Tests/DeleteTest.php index aec525d..11fc070 100644 --- a/core/modules/rest/lib/Drupal/rest/Tests/DeleteTest.php +++ b/core/modules/rest/lib/Drupal/rest/Tests/DeleteTest.php @@ -7,7 +7,7 @@ namespace Drupal\rest\Tests; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\rest\Tests\RESTTestBase; /** diff --git a/core/modules/rest/lib/Drupal/rest/Tests/ReadTest.php b/core/modules/rest/lib/Drupal/rest/Tests/ReadTest.php index 7ddde9d..9b81f9b 100644 --- a/core/modules/rest/lib/Drupal/rest/Tests/ReadTest.php +++ b/core/modules/rest/lib/Drupal/rest/Tests/ReadTest.php @@ -7,7 +7,7 @@ namespace Drupal\rest\Tests; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\Core\Language\Language; use Drupal\rest\Tests\RESTTestBase; diff --git a/core/modules/rest/lib/Drupal/rest/Tests/UpdateTest.php b/core/modules/rest/lib/Drupal/rest/Tests/UpdateTest.php index 3bcb6ba..1d56957 100644 --- a/core/modules/rest/lib/Drupal/rest/Tests/UpdateTest.php +++ b/core/modules/rest/lib/Drupal/rest/Tests/UpdateTest.php @@ -7,7 +7,7 @@ namespace Drupal\rest\Tests; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\rest\Tests\RESTTestBase; /** diff --git a/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php b/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php index 3e8f51b..a6bc579 100644 --- a/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php +++ b/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php @@ -8,7 +8,7 @@ namespace Drupal\simpletest; use Drupal\Component\Utility\Crypt; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\Component\Utility\NestedArray; use Drupal\Component\Utility\String; use Drupal\Core\DrupalKernel; diff --git a/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php b/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php index 0881810..5d8ba2b 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php @@ -7,7 +7,7 @@ namespace Drupal\system\Tests\Common; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\simpletest\DrupalUnitTestBase; use Drupal\Component\Utility\Crypt; diff --git a/core/modules/system/lib/Drupal/system/Tests/Common/RenderTest.php b/core/modules/system/lib/Drupal/system/Tests/Common/RenderTest.php index b0616d5..613b354 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Common/RenderTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Common/RenderTest.php @@ -8,7 +8,7 @@ namespace Drupal\system\Tests\Common; use Drupal\Component\Utility\Html; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\simpletest\DrupalUnitTestBase; /** diff --git a/core/modules/system/lib/Drupal/system/Tests/Form/EmailTest.php b/core/modules/system/lib/Drupal/system/Tests/Form/EmailTest.php index dd80f29..cfb7036 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Form/EmailTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Form/EmailTest.php @@ -7,7 +7,7 @@ namespace Drupal\system\Tests\Form; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\simpletest\WebTestBase; /** diff --git a/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php b/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php index e2ef22c..8e389a2 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php @@ -7,7 +7,7 @@ namespace Drupal\system\Tests\Form; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\Component\Utility\String; use Drupal\simpletest\WebTestBase; diff --git a/core/modules/system/lib/Drupal/system/Tests/Form/LanguageSelectElementTest.php b/core/modules/system/lib/Drupal/system/Tests/Form/LanguageSelectElementTest.php index 0acd6b2..92c3258 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Form/LanguageSelectElementTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Form/LanguageSelectElementTest.php @@ -7,7 +7,7 @@ namespace Drupal\system\Tests\Form; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\simpletest\WebTestBase; use Drupal\Core\Language\Language; diff --git a/core/modules/system/lib/Drupal/system/Tests/Form/StateValuesCleanTest.php b/core/modules/system/lib/Drupal/system/Tests/Form/StateValuesCleanTest.php index e6f844f..5cd6546 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Form/StateValuesCleanTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Form/StateValuesCleanTest.php @@ -7,7 +7,7 @@ namespace Drupal\system\Tests\Form; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\simpletest\WebTestBase; /** diff --git a/core/modules/system/lib/Drupal/system/Tests/Form/UrlTest.php b/core/modules/system/lib/Drupal/system/Tests/Form/UrlTest.php index a068adc..74a2cd4 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Form/UrlTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Form/UrlTest.php @@ -7,7 +7,7 @@ namespace Drupal\system\Tests\Form; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\simpletest\WebTestBase; /** diff --git a/core/modules/views_ui/lib/Drupal/views_ui/Tests/DisplayTest.php b/core/modules/views_ui/lib/Drupal/views_ui/Tests/DisplayTest.php index b3edc9a..b3d4d7f 100644 --- a/core/modules/views_ui/lib/Drupal/views_ui/Tests/DisplayTest.php +++ b/core/modules/views_ui/lib/Drupal/views_ui/Tests/DisplayTest.php @@ -7,7 +7,7 @@ namespace Drupal\views_ui\Tests; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; use Drupal\Component\Utility\String; use Drupal\views\Views; diff --git a/core/modules/views_ui/lib/Drupal/views_ui/Tests/PreviewTest.php b/core/modules/views_ui/lib/Drupal/views_ui/Tests/PreviewTest.php index d8b6a65..a1e92da 100644 --- a/core/modules/views_ui/lib/Drupal/views_ui/Tests/PreviewTest.php +++ b/core/modules/views_ui/lib/Drupal/views_ui/Tests/PreviewTest.php @@ -7,7 +7,7 @@ namespace Drupal\views_ui\Tests; -use Drupal\Component\Utility\Json; +use Drupal\Core\Serialization\Json; /** * Tests the preview form in the UI.