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

Services_JSON::Services_JSON ( use = SERVICES_JSON_STRICT_TYPE  ) 

constructs a new JSON instance

Parameters:
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 128 of file JSON.php.

    {
        $this->use = $use;
    }


Generated by  Doxygen 1.6.0   Back to index