src/Type/Request.php
public function getJsonBody($json_options=null) : array
    {
        try {
            return phore_json_decode($bodyRaw = $this->getBody());
        } catch (\InvalidArgumentException $e) {
            throw new \InvalidArgumentException("Cannot json-decode body: '$bodyRaw'", 0, $e);
        }
    }
public function getJsonBody($json_options=null) : array
    {
        try {
            return phore_json_decode($bodyRaw = $this->getBody());
        } catch (\InvalidArgumentException $e) {
            throw new \InvalidArgumentException("Cannot json-decode body: '$bodyRaw'", 0, $e);
        }
    }
public function getJsonBody ( $ json_options = null ) : array { try { return phore_json_decode ( $ bodyRaw = $ this -> getBody ( ) ) ; } catch ( \ InvalidArgumentException $ e ) { throw new \ InvalidArgumentException ( "Cannot json-decode body: '$bodyRaw'" , 0 , $ e ) ; } }
json-decode the body

@return array
json - decode the body