commit | 3e4c7797033926a0502cdd4491421c8b16684aef | [log] [tgz] |
---|---|---|
author | Ed Tanous <ed@tanous.net> | Fri Sep 25 08:12:41 2020 -0700 |
committer | Ed Tanous <ed@tanous.net> | Mon Sep 28 14:44:44 2020 +0000 |
tree | da325e65f7efdefa3d7d5b5c8c2573b3c4c0aba2 | |
parent | 6145ed6f329d492ec074e24134368a70549a782c [diff] [blame] |
Fix the build In between the json patch being written, and the json patch being merged, nlohmann library added binary types: https://nlohmann.github.io/json/features/binary_values/ Which is non standard, but used for things like cbor. Add a switch to handle them. Signed-off-by: Ed Tanous <ed@tanous.net> Change-Id: I8599847a063a14c5f489e8347c2c440347d2544d
diff --git a/include/json_html_serializer.hpp b/include/json_html_serializer.hpp index a7d5297..174b086 100644 --- a/include/json_html_serializer.hpp +++ b/include/json_html_serializer.hpp
@@ -588,6 +588,11 @@ out += "null"; return; } + case nlohmann::json::value_t::binary: + { + // Do nothing; Should never happen. + return; + } } }