seaQueue@lemmy.world to Programmer Humor@lemmy.ml · 9 months ago50 million rendered polygons vs one spicy 4.2MB boilemmy.worldimagemessage-square77fedilinkarrow-up167arrow-down11
arrow-up166arrow-down1image50 million rendered polygons vs one spicy 4.2MB boilemmy.worldseaQueue@lemmy.world to Programmer Humor@lemmy.ml · 9 months agomessage-square77fedilink
minus-squarebjornsno@lemm.eelinkfedilinkarrow-up0·9 months agoExcept if it’s a single line file, only god can help you then. (Or running prettier -w on it before opening it or whatever.)
minus-squarefl42v@lemmy.mllinkfedilinkarrow-up1·9 months ago4.2 megs on one line? Vim probably can handle it fine, although syntax won’t be highlighted past a certain point
minus-squareBaldProphet@kbin.sociallinkfedilinkarrow-up0arrow-down1·9 months agoTechnically every JSON file is a single line, with line break characters here and there
minus-squarejimbolauski@lemm.eelinkfedilinkarrow-up1·9 months agoRender Media works the best rm file.json
Except if it’s a single line file, only god can help you then. (Or running
prettier -w
on it before opening it or whatever.)4.2 megs on one line? Vim probably can handle it fine, although syntax won’t be highlighted past a certain point
Technically every JSON file is a single line, with line break characters here and there
cat file.json | jq
also worksRender Media works the best
rm file.json