From 5b66bbfde2f4e0a1e29f3cf035a8986f365e6646 Mon Sep 17 00:00:00 2001 From: initramfs Date: Mon, 4 Sep 2023 01:14:42 +0800 Subject: [PATCH] Fix JSON parsing function of numerals formatted as scientific notation with uppercase E (#1580) Co-authored-by: jonpas --- addons/hashes/fnc_parseJSON.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hashes/fnc_parseJSON.sqf b/addons/hashes/fnc_parseJSON.sqf index d3805fd79..11db76ea1 100644 --- a/addons/hashes/fnc_parseJSON.sqf +++ b/addons/hashes/fnc_parseJSON.sqf @@ -87,7 +87,7 @@ private _tokenize = { _input = toArray _input apply {toString [_x]}; private _tokens = []; - private _numeric = "+-.0123456789e" splitString ""; + private _numeric = "+-.0123456789eE" splitString ""; private _symbols = "{}[]:," splitString ""; private _consts = "tfn" splitString "";