How would be filter plugin for this desired output

my input file looks like

{"msg1":"\"abcd\" : \"msg2\""}
{"msg1":"\"Dhhdk\" : \"msg3\""}
{"msg1":"\"Djskdh\" : \"msg2\""}
{"msg1":"\"ksgdh\" : \"msg\""}
{"msg1":"\"hxvdb\" : \"msg\""}

my desired output should be like

{
"abcd" : "msg2",
"Dhhdk" : "msg3",
"Djskdh" : "msg2",
"ksgdh" : "msg",
"hxvdb" : "msg",
}

how filter plugin would be for this output?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.