6 calls to YamlPecl::decode()

YamlPeclTest::testDecode in core/tests/Drupal/Tests/Component/Serialization/YamlPeclTest.php
Tests decoding YAML node anchors.
YamlPeclTest::testEncodeDecode in core/tests/Drupal/Tests/Component/Serialization/YamlPeclTest.php
Tests encoding and decoding basic data structures.
YamlPeclTest::testError in core/tests/Drupal/Tests/Component/Serialization/YamlPeclTest.php
Tests that invalid YAML throws an exception.
YamlPeclTest::testObjectSupportDisabled in core/tests/Drupal/Tests/Component/Serialization/YamlPeclTest.php
Ensures that php object support is disabled.
YamlTest::testObjectSupportDisabledPecl in core/tests/Drupal/Tests/Component/Serialization/YamlTest.php
Ensures that decoding php objects does not work in PECL.
YamlTest::testYamlFiles in core/tests/Drupal/Tests/Component/Serialization/YamlTest.php
Tests all YAML files are decoded in the same way with Symfony and PECL.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.