MIOLO26
|
Membros públicos | |
stringify ($arg) | |
parse ($text) | |
error ($m) | |
next () | |
white () | |
str () | |
arr () | |
obj () | |
assoc () | |
num () | |
word () | |
val () | |
Campos de Dados | |
$at = 0 | |
$ch = ' ' | |
$text = '' | |
arr | ( | ) |
handless arrays
@access private
assoc | ( | ) |
handles objects
@access public
error | ( | $m | ) |
triggers a PHP_ERROR
@access private
string | $m | error message |
next | ( | ) |
num | ( | ) |
handles numbers
@access private
obj | ( | ) |
handles objects
@access public
parse | ( | $text | ) |
parses the given string into a PHP data structure
string | $text | JSON data representation @access public |
str | ( | ) |
handles strings
@access private
stringify | ( | $arg | ) |
takes an arbitrary PHP data structure and generates a valid JSON representation from it
mixed | $arg | an arbitrary PHP data structure @access public |
val | ( | ) |
generic value handler
@access private
white | ( | ) |
handles whitespace and comments
@access private
word | ( | ) |
handles words
@access private
integer $at = 0 |
line counter
@access private
string $ch = ' ' |
@access private
string $text = '' |
JSON representation
@access private