code: public function buildJsonObject($data)
      {
          $this->object = new RObject();
          $this->object->setData($data);
          $this->object->setContentType(Http::CONTENT_TYPE_JSON);
  
          return $this;
      }
docs: Mint a new Object instance with a json encoded string
  
  @param mixed $data
  
  @return $this