View Issue Details

IDProjectCategoryView StatusLast Update
0030119RunnerHTML5Public2019-08-30 16:45
ReporterYellowAfterlifeAssigned ToCoreTech 
PriorityLowSeverityC - GeneralReproducibility100%
Status AssignedResolutionOpen 
PlatformWindowsOSWindows 10 ProOS Version>=1703
Product Version 
Target VersionFixed in Version 
Summary0030119: HTML5: json_encode(json_decode(@'{"null":null}')) is {"null":{}}
DescriptionCode:
show_debug_message(json_encode(json_decode(@'{"null":null}')));

Windows: {}
HTML5: {"null":{}}
Tagsfunctions, html5
1.4 Found In
2.x Runtime Found In9.9.1.1222
2.x Runtime Verified In

Activities

YellowAfterlife

2018-10-23 10:44

Developer  

a_bug.yyz (51,353 bytes)

YellowAfterlife

2019-05-13 17:56

Developer   ~0063908

To whom it may concern, I'm pretty sure that the cause of this was as simple as checking that typeof X == "object" without checking if X == null beforehand

YellowAfterlife

2019-08-30 16:45

Developer   ~0064697

Probably should not consume the nulled field on native btw , can lead to issues with input validation.