original_string: protected function json_encode_options($options)
      {
          $data = $this->prepare_options($options);
  
          $json = json_encode($data['options']);
  
          $json = str_replace($data['toReplace'], $data['original'], $json);
  
          return $json;
      }
code: protected function json_encode_options($options)
      {
          $data = $this->prepare_options($options);
  
          $json = json_encode($data['options']);
  
          $json = str_replace($data['toReplace'], $data['original'], $json);
  
          return $json;
      }
code_tokens: protected function json_encode_options ( $ options ) { $ data = $ this -> prepare_options ( $ options ) ; $ json = json_encode ( $ data [ 'options' ] ) ; $ json = str_replace ( $ data [ 'toReplace' ] , $ data [ 'original' ] , $ json ) ; return $ json ; }
docstring: Encode options to Json.
  
  @param array $options
  
  @return $json
docstring_tokens: Encode options to Json .