[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/include/Zend/ -> Json.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
File Size: 91 lines (3 kb)
Included or required: 17 times
Referenced: 1 time
Includes or requires: 2 files
 include/Zend/Json/Decoder.php
 include/Zend/Json/Encoder.php

Defines 1 class

Zend_Json:: (2 methods):
  decode()
  encode()


Class: Zend_Json  - X-Ref

Class for encoding to and decoding from JSON.

decode($encodedValue, $objectDecodeType = Zend_Json::TYPE_ARRAY)   X-Ref
Decodes the given $encodedValue string which is
encoded in the JSON format

Uses ext/json's json_decode if available.

param: string $encodedValue Encoded in JSON format
param: int $objectDecodeType Optional; flag indicating how to decode
return: mixed

encode($valueToEncode, $cycleCheck = false)   X-Ref
Encode the mixed $valueToEncode into the JSON format

Encodes using ext/json's json_encode() if available.

NOTE: Object should not contain cycles; the JSON format
does not allow object reference.

NOTE: Only public variables will be encoded

param: mixed $valueToEncode
param: boolean $cycleCheck Optional; whether or not to check for object recursion; off by default
return: string JSON encoded object



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1