BitsParser icon indicating copy to clipboard operation
BitsParser copied to clipboard

Invalid JSON

Open evild3ad opened this issue 5 years ago • 2 comments

Thank you very much for sharing BitsParser!

I tried to convert the JSON output to CSV without success. I think the JSON objects should be comma separated in an array:

[ { "JobType": "download", "JobPriority": "foreground", "JobState": "suspended", "JobId": "e36fd920-5cb1-40c5-a372-000bf2a15625", "JobName": "Microsoft Office Click-to-Run", "OwnerSID": "S-1-5-18", "Owner": "NT-AUTHORITY \SYSTEM", "CreationTime": "2021-01-17T06:23:01Z", "ModifiedTime": "2021-01-17T06:23:01Z" }, { "JobType": "download", "JobPriority": "foreground", "JobState": "suspended", "JobId": "d97652de-7f08-4806-9df4-44fc98ce4b7a", "JobName": "Microsoft Office Click-to-Run", "OwnerSID": "S-1-5-18", "Owner": "NT-AUTHORITY \SYSTEM", "CreationTime": "2020-12-14T13:58:18Z", "ModifiedTime": "2020-12-14T13:58:18Z" } ]

evild3ad avatar Apr 02 '21 07:04 evild3ad

Hello! I think it's better not to parse output from BitsParser, but just write data to csv instead of JSON, like it was in bits_parser. I did something similar here: https://github.com/Kargin/BitsParser/tree/fix_to_support_dat_format_parsing

tonykarg avatar Apr 08 '21 18:04 tonykarg

@Kargin Works (when using -o OUTPUT). Thank you!

evild3ad avatar Apr 11 '21 13:04 evild3ad