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

maximum encode_number_precision value #80

Open
rexxar-liang opened this issue Dec 24, 2021 · 0 comments
Open

maximum encode_number_precision value #80

rexxar-liang opened this issue Dec 24, 2021 · 0 comments

Comments

@rexxar-liang
Copy link

rexxar-liang commented Dec 24, 2021

for the latest code, I found the maximum value of encode_number_precision is 16, which is merged in commit.
openresty@f79aa68

For our scenes, we use int64 value in json strings, which means 16 precission numbers is not enough for us.

So any suggestions?
Can we change max value of encode_number_precision to 19, 20 or add new configuration like cjson.max_encode_number_precision(X) for different scenes?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant