Pretty print JSON

Fixes #1
parent dd76c092
This diff is collapsed.
......@@ -29,6 +29,6 @@ if($data) {
}
// Save data
file_put_contents("./data/tld-list.json", json_encode($final_data));
file_put_contents("./data/tld-list.json", json_encode($final_data, JSON_PRETTY_PRINT));
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment