DJson
Is a free object/array based file writer/reader for the pawn language, especially for SA-MP. It uses the JSON standard as encoding. Check my official DJson page for more info.
Latest Releases
Previous Releases |
Messages
DJBANK
That's excellent! But I found that it can't process data like {"text":null}. Value 'null' can stop reading process. Will you fix it?
Thanks/Danke.
This helped me get rid of the awful filesystem my script previously had (well most of it, still have to port a few more things from fread to DJson, but that'll be extremely easy!).
85.21.37.18:7777
pascal
felipe0
hiiiiiiiiiiiiiiihiiiiiiiiiii
EDIT:
On down of photo I mean "server is off"
But if I'll off my local server, files still exists. See this:
http://img268.imageshack.us/img268/6216/photowmk.jpg
This is correct. djson creates the new cache files with random numbers. They should actually disappear, as soon as you shutdown the server or gmx' the gamemode.
- Draco
But after a few insertion and exemption in scriptfiles server files are named, inter alia: djson-db-cache.161, djson-db-cache.626, djson-db-cache.761 Is it so it must be or it is an error? DJson version: 1.6. Sorry for bad English.
New version works with filterscript. Just be sure, that you load on filterscript init (djson_GameModeInit) and on filterscript exit (djson_GameModeExit).
- Draco
Thanks, but it's too bad you can't use it on filterscripts...
Is there a workaround? I want it on my filterscript and on my gamemode.
hey draco
thanks for this :)
Bitte ;)
Morgen DracoBlue,
und Danke! ;)


