[wp-trac] [WordPress Trac] #11963: json_decode() only supports only "stdClass Object" but no "array"

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 25 07:13:49 UTC 2010


#11963: json_decode() only supports only "stdClass Object" but no "array"
-------------------------+--------------------------------------------------
 Reporter:  carbolineum  |       Owner:             
     Type:  enhancement  |      Status:  new        
 Priority:  normal       |   Milestone:  3.0        
Component:  General      |     Version:  2.9.1      
 Severity:  normal       |    Keywords:  needs-patch
-------------------------+--------------------------------------------------
Changes (by nacin):

  * keywords:  json_decode, array => needs-patch
  * milestone:  Unassigned => 3.0


Comment:

 Since we introduced json_decode() for pre-PHP 5.2 compat, we should
 probably implement it with the array option.

 Setting to 3.0 for now. Needs patch or it will get punted quick.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11963#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list