public static function json($content, $code = 200)
	{
		// If collection get array
		if (is_a($content, "SnooPHP\Model\Collection")) $content = $content->array();

		// Return json content
		return new static(
			to_json($content),
			$code,
			["Content-Type" => "application/json; charset=utf-8"]
		);
	}