Supported Versions: PHP 5 >= 5.2.0, PHP 7, PHP 8, PECL json >= 1.2.0
Returns the JSON representation of a value
<?php json_encode(mixed $value, int $flags = 0, int $depth = 512): string|false
<?php     {

        $jsonOptions = JSON_PARTIAL_OUTPUT_ON_ERROR | JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_AMP | JSON_HEX_QUOT;



        return json_encode($data, $jsonOptions);

    }



    public function getAssetContents(string $asset): string
<?php     public function tabs(): string

    {

        return json_encode(Ignition::$tabs);

    }



    public function defaultTab(?string $defaultTab, ?array $defaultTabProps)