pock

JsonDecoderTrait

Trait JsonDecoderTrait

Tags
category

JsonDecoderTrait

Table of Contents

jsonDecode()  : mixed
json_decode which throws exception on error.

Methods

jsonDecode()

json_decode which throws exception on error.

public static jsonDecode(string $json[, bool $associative = false ][, int $depth = 512 ], int $flags) : mixed
Parameters
$json : string
$associative : bool = false
$depth : int = 512
$flags : int
Tags
throws
JsonException
SuppressWarnings

(PHPMD.BooleanArgumentFlag)

Return values
mixed

Search results