Json
Read onlyYes
FinalYes
Constants
- FLAGS : int = \JSON_THROW_ON_ERROR | \JSON_PRESERVE_ZERO_FRAC...
Methods
Constants
FLAGS
public
int
FLAGS
= \JSON_THROW_ON_ERROR | \JSON_PRESERVE_ZERO_FRACTION | \JSON_UNESCAPED_SLASHES
Methods
decode()
public
static decode(string $json) : array<string|int, mixed>
Parameters
- $json : string
Tags
Return values
array<string|int, mixed>encode()
public
static encode(array<string|int, mixed> $data) : string
Parameters
- $data : array<string|int, mixed>