original_string: public function serialize($value)
      {
          $this->reset();
  
          return $this->serializationStrategy->serialize($this->serializeData($value));
      }
code: public function serialize($value)
      {
          $this->reset();
  
          return $this->serializationStrategy->serialize($this->serializeData($value));
      }
code_tokens: public function serialize ( $ value ) { $ this -> reset ( ) ; return $ this -> serializationStrategy -> serialize ( $ this -> serializeData ( $ value ) ) ; }
docstring: Serialize the value in JSON.
  
  @param mixed $value
  
  @return string JSON encoded
  
  @throws SerializerException
docstring_tokens: Serialize the value in JSON .