alliedmodders / amxmodx

AMX Mod X - Half-Life 1 Scripting and Administration
http://www.amxmodx.org/
498 stars 202 forks source link

JSON callbacks #801

Open afwn90cj93201nixr2e1re opened 4 years ago

afwn90cj93201nixr2e1re commented 4 years ago

Description

https://www.amxmodx.org/api/json/json_parse should support callbacks setter, as in v8 JSON.Parse(str, args).

SergeyShorokhov commented 4 years ago

do u think this may cause of lags when parse large struct?

afwn90cj93201nixr2e1re commented 4 years ago

idk, why it's should? So, it doesnt lag in v8, but im not sure about amxx, im not sure about why it's replicated here, don't know for what, so INI parser is piece of shit, that's why i wanna use JSON here.