Wednesday, 6 May 2020

[help] Merge objects from json files into an array in one json file

Hello,I have a thousands .json files.Each .json file contain one object.{ "key": "value", "key2": "value2" } I'm trying to get the following result:[ { "key", "value", "key2", "value2" }, { "key", "value", "key2", "value2" } ] I've tried to use the module json-concat, but it doesn't create a new array.I get this output:{ "key": "value", "key2": "value2", "key": "value", "key2": "value2" } Could anyone point me in the right direction ?

Submitted May 06, 2020 at 09:43AM by AmauryH

No comments:

Post a Comment