Location: PHPKode > scripts > Craur > DracoBlue-Craur-305a42f/php/tests/fail_with_broken_json_test.php
<?php
try
{
    $node = Craur::createFromJson('{"key":"valu}');
    assert(false);
}
catch (Exception $exception)
{
    /*
     * Great, it broke! :)
     */
}
Return current item: Craur