We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e359e46 commit 5cd4c26Copy full SHA for 5cd4c26
core/vm.cpp
@@ -1715,6 +1715,14 @@ class Interpreter {
1715
case json::value_t::discarded: {
1716
abort();
1717
}
1718
+
1719
+ default: {
1720
+ // Newer mlohmann json.hpp (from v3.8.0 https://github.com/nlohmann/json/pull/1662)
1721
+ // add a `value_t::binary` type, used when dealing with some JSON-adjacent binary
1722
+ // formats (BSON, CBOR, etc). Since it doesn't exist prior to v3.8.0 we can't match
1723
+ // on it explicitly, but we can just treat any unknown type as an error.
1724
+ abort();
1725
+ }
1726
1727
1728
0 commit comments