Rename the project.json file to project_json.old and then open the XAML in Studio. It’ll recreate the project.json file, although some things could be missing like packages, version info, etc.
But at least you’ll be able to open it and deal with the rest.