Documentation

Json
in package

Table of Contents

Properties

$index  : int
$input  : string
$length  : int
$token  : mixed
Public variable for whole of the class

Methods

decode()  : mixed
encode()  : mixed
isAssociative()  : mixed
isValue()  : mixed
nextIf()  : mixed
nextsIf()  : mixed
nextToken()  : mixed
skip()  : mixed
skips()  : mixed
typeToken()  : mixed

Properties

$token

Public variable for whole of the class

public mixed $token = null

Methods

decode()

public decode(mixed $input[, mixed $init = true ]) : mixed
Parameters
$input : mixed
$init : mixed = true
Tags
function

decode(input,init=true) argument: string $input, bool init return : array[...]

encode()

public encode(mixed $array) : mixed
Parameters
$array : mixed
Tags
function

encode($array) argument: array $array return : @string

isAssociative()

public isAssociative(array<string|int, mixed> $array) : mixed
Parameters
$array : array<string|int, mixed>
Tags
function

isAssociative($array) argument: array $array return : @bool

isValue()

public isValue(mixed $token) : mixed
Parameters
$token : mixed
Tags
function

isValue(token) argument: token $token return : array[bool $status, string $result]

nextIf()

public nextIf(mixed $characterIf) : mixed
Parameters
$characterIf : mixed
Tags
function

nextIf($characterIf) argument: char $characterIf return : @void

nextsIf()

public nextsIf(mixed $characterIf) : mixed
Parameters
$characterIf : mixed
Tags
function

nextsIf($characterIf) argument: char $characterIf return : @void

nextToken()

public nextToken() : mixed
Tags
function

nextToken() argument: void return : @token

skip()

public skip(mixed $token, mixed $tok) : mixed
Parameters
$token : mixed
$tok : mixed
Tags
function

nextsIf($token,tok) argument: token $token, tokentype $tok return : @token

skips()

public skips(mixed $token, mixed $tok) : mixed
Parameters
$token : mixed
$tok : mixed
Tags
function

skips($token,tok) argument: token $token, tokentype $tok return : @token

typeToken()

public typeToken(mixed $token) : mixed
Parameters
$token : mixed
Tags
function

typeToken($token) argument: $token return : @string


        
On this page

Search results