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:
parent
bffd121c72
commit
dd79c1ce54
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user