After the conversion problem json_encode indexed arrays are still arrays

Pits question: directly on the map

 

 

 Solution: (json_encode adding a second parameter)

JSON_FORCE_OBJECT

 

Guess you like

Origin www.cnblogs.com/sgm4231/p/11944516.html