Simply you can save with extension .json but while saving you have to do some changes.
Change Save as type in red circle in image to All Files.
It will create .json file with name bharti.json.
To check this --> Right click at file --> Properties --> Type of file: JSON File (.json)