mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 20:51:16 +00:00
Make null handling YAML 1.2 compliant.
This commit is contained in:
@@ -2,4 +2,8 @@
|
||||
|
||||
namespace YAML {
|
||||
_Null Null;
|
||||
|
||||
bool IsNullString(const std::string& str) {
|
||||
return str.empty() || str == "~" || str == "null" || str == "Null" || str == "NULL";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user