May-11-2017, 12:07 AM
I'll go ahead and try that, but here is something I found on the difference between dump and dumps.
"There isn't pretty much anything else to add other than what the docs say, if you want to dump the JSON into a file/socket or whatever, then you should go for dump(). If you only need it as a string (for printing, parsing or whatever) then use dumps() (dump string)"
"There isn't pretty much anything else to add other than what the docs say, if you want to dump the JSON into a file/socket or whatever, then you should go for dump(). If you only need it as a string (for printing, parsing or whatever) then use dumps() (dump string)"