Class WFJSON

Description

Located in /framework/util/WFJSON.php (line 3)


	
			
Method Summary
static mixed decode (string $data, [ $asHash = true])
static string encode (mixed $data)
static void json_decode ( $data)
static void json_encode ( $data)
Methods
static method decode (line 29)

Decode JSON string into PHP data.

  • return: PHP data.
  • access: public
static mixed decode (string $data, [ $asHash = true])
  • string $data: JSON-encoded data.
  • $asHash
static method encode (line 11)

Encode PHP data into a JSON string.

  • return: JSON-encoded data.
  • access: public
static string encode (mixed $data)
  • mixed $data: PHP data
static method json_decode (line 58)

Decode a JSON string into PHP data.

  • see: WFJSON::decode
  • deprecated:
  • access: public
static void json_decode ( $data)
  • $data
static method json_encode (line 47)

Encode PHP data into a JSON string.

  • see: WFJSON::encode
  • deprecated:
  • access: public
static void json_encode ( $data)
  • $data

Documentation generated on Thu, 14 May 2009 16:20:07 -0400 by phpDocumentor 1.4.2