<?php $arr = ["a"=>[],"b"=>(object)[]]; var_dump(json_encode($arr));
You have javascript disabled. You will not be able to edit any code.