)]}'
{
  "commit": "385946dfd8e108b3e823bca38ccb5cd92a13f6e5",
  "tree": "99806f805ee49c2cfce6edbba6eb42c07599c8db",
  "parents": [
    "03bbe0921cf5cc8c22f8739471156a2ed1cfd90b"
  ],
  "author": {
    "name": "Pyarelal Knowles",
    "email": "pknowles@nvidia.com",
    "time": "Tue Jan 03 18:18:04 2023 -0800"
  },
  "committer": {
    "name": "Pyarelal Knowles",
    "email": "pknowles@nvidia.com",
    "time": "Mon Jan 09 20:54:29 2023 -0800"
  },
  "message": "add URI encode/decode API\n\nTinygltf is able to write files defined by a URI, so it needs to be able\nto decode it. Since it may also modify the path where the image is saved\nit may need to re-encode the URI too. This patch provides an API to set\nURI encoding and decoding callbacks and exposes the default decode\nmethod.\n\nUses the existing dlib::urldecode as a decode default. The encode\ncallback is left null, matching existing behaviour.\n\nUpdates the WriteImageDataFunction signature to include\ntinygltf::URICallbacks.\n\nDecodes the image and buffer uris before using them as a filename.\n\nIf the encode callback is set, encodes the written image location in the\ndefault WriteImageDataFunction and encodes generated buffer locations\nwhen writing .bin files.\n\nAdds a save+load step to the test image-uri-spaces to verify uri\nencoding.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "00197d6ac14ebeed5436257a51f125c7685e89a9",
      "old_mode": 33188,
      "old_path": "tests/tester.cc",
      "new_id": "b1be6015c45deb96f3ecc21b2a150bd03c70d79f",
      "new_mode": 33188,
      "new_path": "tests/tester.cc"
    },
    {
      "type": "modify",
      "old_id": "5be8fa3acf210372a6656f4b9efb1a7e8d7eca4a",
      "old_mode": 33188,
      "old_path": "tiny_gltf.h",
      "new_id": "4e6825e8ec98bd708bee183e78da87fbd77d66cc",
      "new_mode": 33188,
      "new_path": "tiny_gltf.h"
    }
  ]
}
