)]}'
{
  "commit": "9a5bbec0d63804de9cf028a9fbc69f8fa0dc901e",
  "tree": "a25f2c6cbca2cede50ecdafa37207f4d57661a00",
  "parents": [
    "d4742c2b4550d4ee516f065c87315c756ac2430f"
  ],
  "author": {
    "name": "Jordan Bayles",
    "email": "bayles.jordan@gmail.com",
    "time": "Sun Mar 15 22:38:17 2026 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sun Mar 15 22:38:17 2026 -0700"
  },
  "message": "Fix string_view ABI mismatch between library and consumers (#1661)\n\nThe library was forced to build with CMAKE_CXX_STANDARD 11, so\nJSONCPP_HAS_STRING_VIEW was never defined at compile time. Consumers\nbuilding with C++17 would see the string_view APIs in the header but\nfail to link them.\n\nFix:\n- Remove the global CMAKE_CXX_STANDARD 11 override; the existing\n  target_compile_features(cxx_std_11) already enforces the minimum.\n- Detect string_view support at configure time with\n  check_cxx_source_compiles and export JSONCPP_HAS_STRING_VIEW as a\n  PUBLIC compile definition on all library targets, so consumers\n  always see the same value the library was built with.\n- Guard the __cplusplus fallback in value.h so it does not override\n  the CMake-set define.\n\nFixes #1595",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cfd1a4e1cf66c01253b62c15100f469b36826d41",
      "old_mode": 33188,
      "old_path": "CMakeLists.txt",
      "new_id": "bc8575fd160cb6de12d76c9b7db7ba24a6002d99",
      "new_mode": 33188,
      "new_path": "CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "a7a39a1a7e9fe4b3ec00ba6e27a3926cb8363ac4",
      "old_mode": 33188,
      "old_path": "include/json/value.h",
      "new_id": "f32f456093656937a72fd1c21d0ea900044bf105",
      "new_mode": 33188,
      "new_path": "include/json/value.h"
    },
    {
      "type": "modify",
      "old_id": "96589415883930359fcce96f4ee80936b7f82ba6",
      "old_mode": 33188,
      "old_path": "src/lib_json/CMakeLists.txt",
      "new_id": "03e9335525ca6efc402f3095294437a17a62cdfa",
      "new_mode": 33188,
      "new_path": "src/lib_json/CMakeLists.txt"
    }
  ]
}
