)]}'
{
  "commit": "89250dbfdd1c0f261addd23a80f255ea3573a3aa",
  "tree": "caec974bd3287a01b803101c2097b55aac4f922a",
  "parents": [
    "7dcf6870f0ff2c4f5e3ec54637ca295fee793dd0"
  ],
  "author": {
    "name": "Nicolas S. Dade",
    "email": "nic.dade@gmail.com",
    "time": "Sat Mar 14 14:51:56 2026"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sat Mar 14 14:51:56 2026"
  },
  "message": "Support for json:\",omitzero\" tag (#429)\n\n* add support for the json:\",omitzero\" tag\n\nomitzero was added to the go stdlib encoder/json in go 1.24\n\n* add case which omitempty missed: uintptr is encodable in json\n\nand does accept omitempty in the go stdlib encoder/json.\n\n* add omitzero test cases for pointer-to-\"\" and pointer-to-{}\n\n(both should marshal to something in order to match stdlib json, and\nthey do)\n\n* fix and add tests for the case when omitzero is combined with omitempty\n\nWithout a special case the generated code can look like\n\n   if v !\u003d nil \u0026\u0026 v !\u003d nil {\nor\n   if v !\u003d \"\" \u0026\u0026 v !\u003d \"\" {\n\nand that gets flagged by go vet (go 1.25.5)",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ee7f6898bebd682a639c6d7bab14311c9eb4c562",
      "old_mode": 33188,
      "old_path": "Makefile",
      "new_id": "eed947e2243d37c93d124c87792f35c9ac857f5b",
      "new_mode": 33188,
      "new_path": "Makefile"
    },
    {
      "type": "modify",
      "old_id": "aff4fb496211fb71a63277425c74a876b7c15980",
      "old_mode": 33188,
      "old_path": "bootstrap/bootstrap.go",
      "new_id": "733123daa9e027409e6324b077e826bbfb840103",
      "new_mode": 33188,
      "new_path": "bootstrap/bootstrap.go"
    },
    {
      "type": "modify",
      "old_id": "55be0ac92194af417901cf43536c7c5c832fad12",
      "old_mode": 33188,
      "old_path": "easyjson/main.go",
      "new_id": "9283592fa9ba8b02c63a846bca3a0b429be109a4",
      "new_mode": 33188,
      "new_path": "easyjson/main.go"
    },
    {
      "type": "modify",
      "old_id": "ed6d6ad5fce04903fac0e58980bbeee98004c075",
      "old_mode": 33188,
      "old_path": "gen/encoder.go",
      "new_id": "c9a886a02c98ead92068660227d9940863f7ef93",
      "new_mode": 33188,
      "new_path": "gen/encoder.go"
    },
    {
      "type": "modify",
      "old_id": "8598fe0b20df18cc3087d0f57f8ca94b4e1ee081",
      "old_mode": 33188,
      "old_path": "gen/generator.go",
      "new_id": "32fa79f8ebb4d548223b64514d4afb48710dc51b",
      "new_mode": 33188,
      "new_path": "gen/generator.go"
    },
    {
      "type": "modify",
      "old_id": "efe34bf2ac5efa23d1bb57a7a09f2c5a44c82c37",
      "old_mode": 33188,
      "old_path": "helpers.go",
      "new_id": "6a4b2fdfe930c3bf89e45adf2eaf0fcb3b4fa3cb",
      "new_mode": 33188,
      "new_path": "helpers.go"
    },
    {
      "type": "modify",
      "old_id": "5bf93f1a966a363a6c68a88309e6c1892c8df9da",
      "old_mode": 33188,
      "old_path": "tests/basic_test.go",
      "new_id": "cdc7e8a42838908e739d32af8c20498ba9138ae1",
      "new_mode": 33188,
      "new_path": "tests/basic_test.go"
    },
    {
      "type": "modify",
      "old_id": "2018c88204bba51534fde8e70ae03fb0c1a3f521",
      "old_mode": 33188,
      "old_path": "tests/data.go",
      "new_id": "80435f0039f18f97bd144c5a639e882753c89c6b",
      "new_mode": 33188,
      "new_path": "tests/data.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "91c62c4e3a9f4bd5c50a4d7eed27dd3cebcd1bde",
      "new_mode": 33188,
      "new_path": "tests/omitzero.go"
    }
  ]
}
