技术&日志 php中json格式的空对象 Posted 2018年8月12日 jacky json_encode((object)null) 会得到{} json_encode(array()) 会得到[]