View Issue Details

IDProjectCategoryView StatusLast Update
0029746RunnerFunctionsPublic2021-08-03 16:26
ReporterStewart BishopAssigned ToCoreTech 
PriorityLowSeverityC - GeneralReproducibility100%
Status ResolvedResolutionFixed 
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


Stewart Bishop

2018-07-03 16:19


JSON Null Error.yyz (12,266 bytes)


2021-08-03 16:26

Developer   ~0066582

No longer reproduces in v2.3.3. Closing.