How To Pretty Print JSON in PHP

Author: , June 11th, 2020

If you ever want to view your JSON as a human ;-} $pretty_json = json_encode($data, JSON_PRETTY_PRINT);

How To Fix Indentation in Vi

Author: , July 30th, 2014

gg=G gg to get to the top of the file, = to indent, and G to the go to the end of the file.