Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fast json module #893

Closed
waruqi opened this issue Jul 15, 2020 · 3 comments
Closed

Add fast json module #893

waruqi opened this issue Jul 15, 2020 · 3 comments

Comments

@waruqi
Copy link
Member

waruqi commented Jul 15, 2020

We need provides JSON support for xmake/lua.

Need Features

  • Fast and Small
  • Only uses c or lua
  • Full support for JSON with UTF-8
  • No dependencies on other libraries

Some Options

Some performance tests

@waruqi
Copy link
Member Author

waruqi commented Jul 15, 2020

Maybe https://github.com/openresty/lua-cjson/ is a good option.

@waruqi
Copy link
Member Author

waruqi commented Jul 16, 2020

#894

@waruqi
Copy link
Member Author

waruqi commented Jul 17, 2020

我看cjson封的接口挺好的,目前就先直接将cjson原样导出到 core.base.json下了,回头有需求再改进。

@waruqi waruqi closed this as completed Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant