lz4jsoncat(1)

✨ lz4jsoncat ✨

okay so bestie, gather round, because lz4jsoncat is one of those tiny little commands that just does the thing and asks for nothing in return. it's a General Commands Manual girlie, section 1, and she is here to unpack Mozilla's lz4json format for you. no cap. πŸ’–


πŸŽ€ NAME πŸŽ€

lz4jsoncat β€” the decompress tool for the mozilla lz4json</font> format. that's it. that's the whole job. and she eats every single time. πŸ’…


🌸 SYNOPSIS 🌸

lz4jsoncat somefile.mozlz4 > somefile.json

literally one file in, one redirect out. the way that it's just that simple?? iconic. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea: lz4jsoncat unpacks lz4json files β€” the kind that get generated by Firefox's bookmark backups and session restore. ykwim, the .mozlz4 situations. πŸ‘‘

and then? it dumps the data straight to stdout. no fuss, no extra files, no main character drama. it just yeets the JSON out into the world and lets you redirect it wherever you want. fr fr. 🌈


πŸ’€ CAVEATS πŸ’€

okay listen, this is the important part, don't skip it:

the input file must be mmappable β€” so you can't use a pipe here. 😭

like, not "you shouldn't", not "it's a little wonky" β€” you genuinely cannot pipe into this thing. it needs a real file it can memory-map. so no cat something | lz4jsoncat, bestie, i'm so serious. πŸ™ˆ


🫢 a lil sign-off 🫢

this lil manual page is from the General Commands Manual, dated 2018-12-25, and it's page lz4jsoncat(1). she's been holding it down since 2018 and honestly? she ate. πŸŽ€βœ¨πŸ’–

go forth and un-lz4 your JSONs, queen. πŸ’…πŸŒΈ

πŸ“¦ where this page comes from