JSON
[ class tree: JSON ] [ index: JSON ] [ all elements ]

Class: JSON

Source Location: /JSON.php

Class Overview


JSON


Author(s):

Version:

  • 1.0

Copyright:

  • 2007 Cesar D. Rodas

Methods



Class Details

[line 64]
JSON

This class serilize an PHP OBJECT or an ARRAY into JSON notation. Also convert a JSON text into a PHP OBJECT or array.




Tags:

author:  Cesar D. Rodas <crodas@phpy.org>
version:  1.0
copyright:  2007 Cesar D. Rodas
link:  http://cesars.users.phpclasses.org/json
license:  BSD License


[ Top ]


Class Methods


method Json [line 74]

void Json( )



[ Top ]

method serialize [line 87]

void serialize( $obj)

Serialize

Serialize a PHP OBJECT or an ARRAY into JSON notation.

param mixed $obj Object or array to serialize return string JSON.




Parameters:

   $obj  

[ Top ]

method unserialize [line 108]

mixed unserialize( string $text)

UnSerialize

Transform an JSON text into a PHP object and return it.




Tags:

return:  PHP Object, array or false.
access:  public


Parameters:

string   $text   JSON text

[ Top ]


Documentation generated on Mon, 29 Oct 2007 22:24:01 -0300 by phpDocumentor 1.4.0a2