@@ -182,8 +182,8 @@ textToValue SingleQuoted _ t = String t
182182textToValue DoubleQuoted _ t = String t
183183textToValue _ StrTag t = String t
184184textToValue Folded _ t = String t
185−textToValue _ _ "null" = Null
186185textToValue _ _ t
186+ | t `elem` ["null", "Null", "NULL", "~", ""] = Null
187187 | any (t `isLike`) ["y", "yes", "on", "true"] = Bool True
188188 | any (t `isLike`) ["n", "no", "off", "false"] = Bool False
189189 | Right (x, "") <- signed decimal t = Number $ I x