src/curlient/Curlient.php
public function json($encoding = null) {
		$rst = $this->text($encoding);
		if ($rst) {
			return @json_decode($rst, true);
		}

		return null;
	}
public function json($encoding = null) {
		$rst = $this->text($encoding);
		if ($rst) {
			return @json_decode($rst, true);
		}

		return null;
	}
取网页返回关联数组.

@param null|string $encoding

@return array|null