jsonparse: Add basic JSON parser
Some TODO's left and this needs benchmarking.
This commit is contained in:
parent
aebe5a93dc
commit
7cdc02e399
8 changed files with 508 additions and 21 deletions
8
FU.xs
8
FU.xs
|
|
@ -5,11 +5,17 @@
|
|||
|
||||
#include "c/common.c"
|
||||
#include "c/jsonfmt.c"
|
||||
#include "c/jsonparse.c"
|
||||
|
||||
MODULE = FU PACKAGE = FU::XS
|
||||
|
||||
MODULE = FU PACKAGE = FU::Util
|
||||
|
||||
PROTOTYPES: DISABLE
|
||||
|
||||
void json_format(SV *val, ...)
|
||||
CODE:
|
||||
ST(0) = fujson_fmt_xs(aTHX_ ax, items, val);
|
||||
|
||||
void json_parse(SV *val, ...)
|
||||
CODE:
|
||||
ST(0) = fujson_parse_xs(aTHX_ ax, items, val);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue