Example #1
0
 /**
  * Decodes the query's body and return it as JSON object.
  *
  * @param \Fine47\MicroRouter\Interfaces\Query $query to decode
  * @return array|FALSE decoded JSON data, FALSE on error
  */
 protected function getQueryData(Interfaces\Query $query)
 {
     return Util\Json::decode($query->getRawBody());
 }