ovedpo15 has asked for the wisdom of the Perl Monks concerning the following question:
This is the structure I would like the JSON file to be. Also, consider that the data is in a file that each one if its lines look like this:{ "time": 123456 "id": 56789 "data": [{"key": "first" , "value": "1" , "format": "1.5.6" , "ver +sion": "5.4"}, {"key": "two" , "value": "2" , "format": "1.4.6" , "versi +on": "5.4}, {"key": "five" , "value": "5" , "format": "1.5.9" , "vers +ion": "5.1"}] }
first,1,1.5.6,5.4 two,2,1.4.6,5.4 five,5,1.5.9,5.1
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Create JSON file in specific format
by choroba (Cardinal) on Apr 24, 2018 at 15:33 UTC | |
by ovedpo15 (Pilgrim) on Apr 24, 2018 at 15:54 UTC | |
by choroba (Cardinal) on Apr 24, 2018 at 16:13 UTC | |
by AnomalousMonk (Archbishop) on Apr 24, 2018 at 16:09 UTC | |
Re: Create JSON file in specific format
by wjw (Priest) on Apr 25, 2018 at 04:20 UTC | |
Re: Create JSON file in specific format
by Anonymous Monk on Apr 25, 2018 at 12:35 UTC |