JSON Zscript parser

Post your example zscripts/ACS scripts/etc here.

JSON Zscript parser

Postby Apeirogon » Tue Aug 11, 2020 2:53 pm

Simple JSON parser. Since Im not experienced in creating parsers it take from me whole week of suffering and bashing my head over a wall (due to lack of good debugging tool) to figure out what I should do to make it work. So it might be buggy.

Technically speaking, its not entirely JSON since it allow C like comments in the files.
Also, only JSON thing that it dont support is arrays. Since both wall and my skull already cracked, I stopped in the process of implementation. If someone wants to help, feel free to. There are code that almost work, it just need a little bit of debugging.

Aside from JSON parsing, it allow to create custom, non cvar variables, which than can be used for things.

You can download it here
User avatar
I have a strange sense of humour
Joined: 12 Jun 2017

Return to Script Library

Who is online

Users browsing this forum: No registered users and 0 guests