Python Forum
Looking for csv to json convertion script
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Looking for csv to json convertion script
#1
Hi,

I am looking for script which will convert input into JSON in below format

{"logtime": "Jun 28 00:00:28", "AvgCPU": "90"}
{"logtime": "Jun 28 00:10:28", "AvgCPU": "80"}


I went through couple of the readily available scripts but in all of them all entries are merged in single line.

Thanks
Rajan
Reply


Messages In This Thread
Looking for csv to json convertion script - by rajaniyer123 - Jul-06-2017, 08:34 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Trying to generating multiple json files using python script dzgn989 4 307 May-10-2024, 03:09 PM
Last Post: deanhystad
  Python Script to convert Json to CSV file chvsnarayana 8 2,683 Apr-26-2023, 10:31 PM
Last Post: DeaD_EyE
  hex to int convertion ebolisa 2 1,643 Jul-06-2020, 08:18 PM
Last Post: ebolisa
  [split] script: remove all "carriage return" from my json variable pete 2 2,878 May-05-2020, 03:22 PM
Last Post: deanhystad
  Regex to retrieve data from json in script tag. DreamingInsanity 4 9,700 Dec-20-2019, 06:18 PM
Last Post: DreamingInsanity
  Partial convertion string to int in lists satellite89 6 3,546 Apr-22-2019, 08:50 PM
Last Post: Yoriz
  script: remove all "carriage return" from my json variable mfran2002 4 11,373 Feb-20-2019, 05:07 AM
Last Post: mfran2002
  Issue with a script to convert xls to json Will86 2 3,892 Dec-19-2018, 08:23 AM
Last Post: Will86
  json with regex script snagging mepyyeti 6 4,936 Feb-03-2018, 12:56 AM
Last Post: mepyyeti

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020