dubst3pp4 🎧️ on Nostr: How to reformat a JSON array of pretty printed objects into an array with one object ...
How to reformat a JSON array of pretty printed objects into an array with one object per line? #Vim macros to the rescue!
Published at
2024-09-04 14:11:47Event JSON
{
"id": "8540ea49ecb5546eb458479af07b147f112d9da9c8c3cbfe66c6fa9fd4bbeb35",
"pubkey": "e5110450ab02ae7b1a16e177ad4fd87be397414921fb56685e2c021b265ab248",
"created_at": 1725459107,
"kind": 1,
"tags": [
[
"t",
"vim"
],
[
"proxy",
"https://mastodon.sdf.org/users/dubst3pp4/statuses/113079688042423900",
"activitypub"
]
],
"content": "How to reformat a JSON array of pretty printed objects into an array with one object per line? #Vim macros to the rescue!",
"sig": "c47d16221ddff4b9db66fa6aef34184d2fb0ac9a2e15afadbe2a73109b48caa2bc783db9748ff8d1412d914b829ed2afa222cab82fd8e4dbd131a002700046ae"
}