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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user