Merge pull request #382 from arcoRocks/patch-1

Update json_wrap.hpp
This commit is contained in:
Jason Turner 2018-01-18 16:54:45 -07:00 committed by GitHub
commit be8726b41a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,6 +142,8 @@ namespace chaiscript
// not a dynamic object
}
if (t_bv.is_null()) return json::JSON(); // a null value
throw std::runtime_error("Unknown object type to convert to JSON");
}