Android Question Too long JSON-file?

ValhallSW

Member
Licensed User
Longtime User
I am getting JSON-data from a server with the method described by Erel in the Tutorial section about Web Services. It works great, except it only gets about 4050 characters, or is it the log that is limited?
 

DonManfred

Expert
Licensed User
Longtime User
I am getting JSON-data from a server with the method described by Erel in the Tutorial section about Web Services. It works great, except it only gets about 4050 characters, or is it the log that is limited?
the LOG is limited.
Save the json string to a file and you´ll see it is complete.
 
Upvote 1

ValhallSW

Member
Licensed User
Longtime User
I took your advise and saved the data to a file:
File.WriteString(File.DirInternal, "1.JSON", Result)
But as I understand files in DirInternal is hard to get.
I can read it with File.ReadString(File.DirInternal, "1.JSON")
But nothing else. If I write it anywhere else, it does not exist, or is it written at all?
I have tried DirRootExternal and DirDefaultExternal but the file does not exist there or anywhere.
Is there somewhere I can write the file to, so that I can get the content of the JSON-file?
 
Upvote 0
Top