subhalaxmi
10 years agoVisitor
Write To Temp File
Hi All
I want to write my jsonstring to tmp file.
<code>
WriteAsciiFile("tmp:/example.txt",msg.GetString())
text=ReadAsciiFile("tmp:/example.txt")
jsonData = ParseJSON(text)
print jsonData
</code>
it gives error when on 3rd line.PARSEJSON Unknown Identifier Error.When I am writing the same response in local file and read it only.It is working fine.What to do.Please help me.I need help urgently.
I want to write my jsonstring to tmp file.
<code>
WriteAsciiFile("tmp:/example.txt",msg.GetString())
text=ReadAsciiFile("tmp:/example.txt")
jsonData = ParseJSON(text)
print jsonData
</code>
it gives error when on 3rd line.PARSEJSON Unknown Identifier Error.When I am writing the same response in local file and read it only.It is working fine.What to do.Please help me.I need help urgently.