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 acc3afd9c7
commit 2c829d5c71

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;