JSON
extends Component
in package
FinalYes
Tags
Table of Contents
Properties
- $hashCode : int
- $hashCounter : int
Methods
- __call() : mixed
- __callStatic() : mixed
- __construct() : mixed
- __destruct() : mixed
- __get() : mixed
- decode() : mixed
- encode() : mixed
- extends() : bool
- getReflection() : ReflectionClass
- init() : mixed
- throwException() : mixed
Properties
$hashCode
private
int
$hashCode
$hashCounter
private
static int
$hashCounter
= 0
Methods
__call()
public
__call(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : string
- $arguments : array<string|int, mixed>
Tags
__callStatic()
public
static __callStatic(mixed $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : mixed
- $arguments : array<string|int, mixed>
__construct()
public
__construct() : mixed
__destruct()
public
__destruct() : mixed
__get()
public
__get(string $property) : mixed
Parameters
- $property : string
decode()
public
static decode(string $string[, string $assoc = false ][, number $depth = 512 ][, number $options = 0 ]) : mixed
Parameters
- $string : string
- $assoc : string = false
- $depth : number = 512
- $options : number = 0
Tags
encode()
public
static encode(mixed $data[, int $flags = JSON_PRETTY_PRINT | JSON_NUMERIC_CHECK ]) : mixed
Parameters
- $data : mixed
- $flags : int = JSON_PRETTY_PRINT | JSON_NUMERIC_CHECK
Tags
extends()
public
extends(ReflectionClass $reflector) : bool
Parameters
- $reflector : ReflectionClass
Return values
boolgetReflection()
public
getReflection() : ReflectionClass
Return values
ReflectionClassinit()
protected
init() : mixed
throwException()
private
static throwException() : mixed