src/Api/Json/Request.php
public static function get() {
		
		$req = new static();
		
		$post = \file_get_contents('php://input');
		
		if($post !== false){
			$obj = Json::deserialise($post);
			if($obj !== null){
				$req->_Obj = $obj;
			}
		}
		
		return $req;
		
	}
public static function get() {
		
		$req = new static();
		
		$post = \file_get_contents('php://input');
		
		if($post !== false){
			$obj = Json::deserialise($post);
			if($obj !== null){
				$req->_Obj = $obj;
			}
		}
		
		return $req;
		
	}
public static function get ( ) { $ req = new static ( ) ; $ post = \ file_get_contents ( 'php://input' ) ; if ( $ post !== false ) { $ obj = Json :: deserialise ( $ post ) ; if ( $ obj !== null ) { $ req -> _Obj = $ obj ; } } return $ req ; }
Returns an instance for a request which is
JSON-formatted
@return \static
Returns an instance for a request which is JSON - formatted