)]}'
{
  "commit": "e1a3c64fef7351b49ad612c8b355a42666a7ff44",
  "tree": "2014c9e256c19ac5b804b1ad97cb1d846dceeaf8",
  "parents": [
    "3c2205cd97838d3c4143107992967e23f0c958b8"
  ],
  "author": {
    "name": "vslashg",
    "email": "veloso@verylowsodium.com",
    "time": "Mon Sep 09 20:34:55 2024 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Sep 09 17:34:55 2024 -0700"
  },
  "message": "Fix asserts in Value::setComment (#1445)\n\nThe existing asserts seem to not be what was intended; they appear to have been mistranslated in pull/877.\r\n\r\nThe first assert for `comment.empty()` was previously a check that a provided `const char*` parameter was not null.  The function this replaced accepted empty strings, and the if() statement at the start of this function handles them.\r\n\r\nThe second assert for `comment[0] \u003d\u003d \u0027\\0\u0027` was written when `comment` was a `const char*`, and was testing for empty c-string input.  This PR replaces it with `comment.empty()` to match the original intent.\r\n\r\nCo-authored-by: Jordan Bayles \u003cbayles.jordan@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "aa2b744ca83da5fba782e5cb42f1c2e27baf7d09",
      "old_mode": 33188,
      "old_path": "src/lib_json/json_value.cpp",
      "new_id": "26cd843cc54ded09578b78a537088a3dc0089211",
      "new_mode": 33188,
      "new_path": "src/lib_json/json_value.cpp"
    }
  ]
}
