Quote:
Originally Posted by claudiuhks
Well, I don't really want to copy someone's code. I only wanted a basic JSON reader. Why should I link some already existing natives to a module? Better to use Exolent's existing code if you want to do more than this module can do.
Anyways, I still don't understand what Ovidius meant. Don't tell me you want to parse {"a":1,"b":2,"c":["x","y","z"]} string since this line can be found into a file.
|
Avoiding module calls? lol
And yes, i'm telling you to parse a json string, because IT WONT BE ALWAYS ON A FILE, what about if you get a json string from a mysql query, or a maybe socket data gotten from a website? That would be better than parsing a file, or you're guessing that I must write that line on a file and later getting it with this? But well, it's an idea, a great one
__________________