public function getDecodedBody() { $body = json_decode((string) $this->body); Base::checkJsonError(); return $body; }