Closed (fixed)
Project:
Ajax
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Reporter:
Created:
10 Oct 2008 at 19:42 UTC
Updated:
27 Oct 2008 at 21:03 UTC
You can use drupal_to_js() instead of json_encode(). I've done this on a few modules I've worked on in order to get rid of the PHP 5.2+ or extra JSON extension requirement. This will upgrade nicely to D7 as well since drupal_to_js basically becomes a rapper for json_encode at that point.
Comments
Comment #1
brendoncrawford commentedComment #2
brendoncrawford commentedGood point.
Comment #3
brendoncrawford commentedThis has been fixed in 6.x-1.x-dev.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.