original_string: public function toJson($options = 0, $structure, $assoc = true)
      {
          return json_encode(
              $this->toOutput($structure, $assoc),
              $options
          );
      }
code: public function toJson($options = 0, $structure, $assoc = true)
      {
          return json_encode(
              $this->toOutput($structure, $assoc),
              $options
          );
      }
code_tokens: public function toJson ( $ options = 0 , $ structure , $ assoc = true ) { return json_encode ( $ this -> toOutput ( $ structure , $ assoc ) , $ options ) ; }
docstring: Get the JSON representation of the object
  
  @param int $options
  @param string $structure
  @param bool $assoc
  @return string
docstring_tokens: Get the JSON representation of the object