2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

fhem.pl: add none to the JSON parser

git-svn-id: https://svn.fhem.de/fhem/trunk@29222 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2024-10-11 16:25:05 +00:00
parent bffd121c72
commit dd79c1ce54

View File

@ -5492,7 +5492,7 @@ json2nameValue($;$$$$)
setVal($ret, $prefix, $name, $1);
$in = $2;
} elsif($val =~ m/^(null)(.*)$/s) {
} elsif($val =~ m/^(null|none)(.*)$/is) { # 139411
setVal($ret, $prefix, $name, undef);
$in = $2;