View Issue Details

IDProjectCategoryView StatusLast Update
0029746RunnerFunctionsPublic2018-07-04 09:43
ReporterStewart BishopAssigned ToCoreTech 
PriorityLowSeverityC - GeneralReproducibility100%
Status AssignedResolutionOpen 
Product Version2.1.4 
Target VersionFixed in Version 
Summary0029746: Functions: json_decode and json_encode save out and read in undefined strangely
DescriptionIf you use json_encode to encode undefined it'll save it out as null, if you then to json_decode null it'll return 0.

This seems strange that we save out undefined as null but then read null in as 0. I'd expect us to save undefined out as undefined and then read it back in as undefined.
Steps To Reproduce1) Run the sample
Tagsfunctions, Runner
1.4 Found In
2.x Runtime Found In2.1.5.237
2.x Runtime Verified In

Activities

Stewart Bishop

2018-07-03 16:19

Developer  

JSON Null Error.yyz (12,266 bytes)