My package.json file is changed how can i creat it again

i was try to add a plugin in my project while it install ,my system automatically restarted. then i try to install the plugin again on that time it throws an error “could not parse package.json file” so that i open the file instead of json the file is filled with java codes