google / jsonnet

Jsonnet - The data templating language
http://jsonnet.org
Apache License 2.0
6.98k stars 440 forks source link

Handle unknown json::value_t kinds (by aborting) #1141

Closed johnbartholomew closed 8 months ago

johnbartholomew commented 8 months ago

This should prevent a compile warning when building against nlohmann json.hpp v3.8.0 or greater, which add an extra value_t kind for binary data, without requiring a newer version to build.

Fixes #1031.

Ref #926 which was a previous attempt to fix this compiler warning, and #1023 which reverted that previous attempt.