testdisk icon indicating copy to clipboard operation
testdisk copied to clipboard

Support for restoring JSON files that begin with squared brackets

Open fatmali opened this issue 6 years ago • 1 comments

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 :-)

fatmali avatar Mar 08 '19 10:03 fatmali

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.

cgsecurity avatar Apr 29 '19 18:04 cgsecurity