Python JSON prelama string na ~157/158 stupcu i stavlja “newline” (“\n”,”\x0A”)

Umjesto..

print ( json.dumps ( podaci , indent=2 , ensure_ascii=False ) , file = open ( "podaci.json" , "w" , encoding="utf8" ))

..koristi

fajl = open ( "podaci.json", "w" , encoding="utf8" )
json.dump ( podaci , fajl , indent=2 )


python json dump dumps newline carriage return linefeed 0d 0a crlf novi red 157 158 stupac column xpython xjson xdump xdumps xnewline xcarriage xreturn xlinefeed x0d x0a xcrlf xnovi xred x157 x158 xstupac xcolumn

image_pdfimage_print