This is a great library! I recently tried to restore a JSON file and it wasn't working. After looking at the code, I realized that testdisk only restores JSON files starting with a '{'. It would be nice to also have supports for those starting with '['. Looking forward to a response :-)
Actually JSON starting with '[' should be recovered by PhotoRec as .txt Check if the first char is '[' may be too weak to identify correctly a json...
TestDisk Undelete feature (menu Advanced) may be more efficient.
This is a great library! I recently tried to restore a JSON file and it wasn't working. After looking at the code, I realized that testdisk only restores JSON files starting with a '{'. It would be nice to also have supports for those starting with '['. Looking forward to a response :-)