mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-02-07 18:26:49 +08:00
Update json_wrap.hpp
This commit is contained in:
parent
af76d1bb42
commit
ed9c0747fb
@ -142,7 +142,7 @@ namespace chaiscript
|
|||||||
// not a dynamic object
|
// not a dynamic object
|
||||||
}
|
}
|
||||||
|
|
||||||
if (t_bv.is_null()) return json::JSON(); // a null value
|
if (t_bv.is_null()) return json::JSON(); // a null value
|
||||||
|
|
||||||
throw std::runtime_error("Unknown object type to convert to JSON");
|
throw std::runtime_error("Unknown object type to convert to JSON");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user