-
Notifications
You must be signed in to change notification settings - Fork 326
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
Not 100% compatibility with encoding/json #4
Comments
|
@wangkechun Please move this into a separate issue. Thanks. |
This IS compatible with stdlib. Compatibility does not mean it should operates exactly like stdlib, minor diffs does not affect compatibility. The
|
Do you use HTMLEscape in your production code? @wangkechun |
Never, but I want it to be configurable, like https://pkg.go.dev/github.com/json-iterator/go#pkg-variables |
done #7 |
For unit test, reproducible serialization results are very important. |
I think we can support it if there's real needs for it, but in our investigation, this function is rarely used. |
I think you should not rely on the undefined behaviour in your unit tests. Instead, you can test your code by marshal and unmarshal it and compare to the original value. |
Closed since there's no more replies. |
The text was updated successfully, but these errors were encountered: