I have a log file and want to create a JSON out of it. The log file does not have specific format or patterns. So i should be able to use regex to split the key:value pairs. I have been trying to use if-elif conditions and also dictionary. It will be of great help if I could get a solution to develop this.
Aucun commentaire:
Enregistrer un commentaire