| Issue 1333: | JSON needs to be wrapped in [] (For Firefox, possilby other browsers) | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I had an issue when trying to use a JSON source. It simply wouldn't work, despite the direct output being correctly formatted. Turns out it wouldn't work unless I wrapped my JSON object in [] brackets. Surely just using json_encode() should be enough? Fullcalendar should take into account the missing [] (as they are not added to the json object by json_encode)
Mar 12, 2012
#1
pcann...@gmail.com
Aug 15, 2013
this is a problem in PHP's end that you need to work around. it stems from PHP's ambiguous definition of an "array". When empty, PHP doesn't know if it should be an "object" or a real array when jsonified. you'll just have to work around this behavior
Status:
WontFix
|
|
| ► Sign in to add a comment |