'Does writing JSON in a single line create any problem?

I have used json.dump() without indent

with open (JSONfilename, 'w', encoding='utf-8') as f:
    json.dump(data, f, ensure_ascii=False)
f.close()

This saves all of JSON data in a single line. I have done this because I noticed that using indent=4 for formatting JSON file increases it size. Is saving big JSON file in single line ok or will I encounter any problem in future?

Edit: Does it effect on saving, loading or parsing time?



Solution 1:[1]

Well, people will have trouble reading it, if you consider that a problem.

The JSON parser ignores whitespace outside of quotation marks.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Michael Lorton