mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-24 06:12:27 +00:00
Implement new JSON parser for redbean
This commit is contained in:
parent
d37536bd4b
commit
2189877856
12 changed files with 338 additions and 21 deletions
11
tool/net/ljson.h
Normal file
11
tool/net/ljson.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
#ifndef COSMOPOLITAN_TOOL_NET_LJSON_H_
|
||||
#define COSMOPOLITAN_TOOL_NET_LJSON_H_
|
||||
#include "third_party/lua/lauxlib.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
int ParseJson(struct lua_State *, const char *, size_t);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_TOOL_NET_LJSON_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue