Mantis

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0024967Runner[All Projects] HTML5Public2016-12-16 14:392017-08-02 16:34
Reporterdralon@yahoo.com 
Assigned ToMike Dailly 
PriorityNoneSeverityC - GeneralReproducibility100%
StatusClosedResolutionFixed 
Platform OS OS Version
Summary0024967: HTML5: json_encode() behaves differently on Windows and HTML5
DescriptionIn windows:
json_encode() will store an array inside a ds_map in a format that looks like an array. json_decode() will interpret these as lists.

Sample Windows json_encode(ds_map_of_array) output:
"100003": [ 768.000000, 576.000000, 0.000000, 0.000000 ]

In HTML5:
json_encode() will store arrays inside of a ds_map in a csv string. json_decode() does not generate a list from this.

Sample HTML5 json_encode(ds_map_of_array) output:
"1000001":"768,576,0,0" SAMPLE URL:
Additional InformationOriginal helpdesk ticket: http://help.yoyogames.com/tickets/114198 [^]
1.4 Version1-4-1760
2.x Runtime Version
2.x Runtime Version Verified In
Attached Files? file icon json_encode.gmz [^] (221,540 bytes) 2016-12-16 14:40

- Relationships

-  Notes
(0053562)
Mike Dailly (Manager)
2017-06-12 22:21

fixed


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker