Logo Search packages:      
Sourcecode: dojo version File versions  Download package

Services_JSON::Services_JSON ( encoding = SERVICES_JSON_UTF_8,

constructs a new JSON instance

>> SJM2005

string $encoding Strings are input/output in this encoding
int $encode Encode input is expected in this character encoding << SJM2005
int $use object behavior: when encoding or decoding, be loose or strict about object/array usage
possible values:
  • SERVICES_JSON_STRICT_TYPE: strict typing, default. "{...}" syntax creates objects in decode().
  • SERVICES_JSON_LOOSE_TYPE: loose typing. "{...}" syntax creates associative arrays in decode().

Definition at line 139 of file json.php.

                  //>> SJM2005
                  $this->encoding = $encoding;
                  //<< SJM2005
                  $this->use = $use;

Generated by  Doxygen 1.6.0   Back to index