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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃悰 c.JSON() takes much time to serialize data and response. #1708
Comments
Thanks for opening your first issue here! 馃帀 Be sure to follow the issue template! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord |
initial implementation in #1563 |
What is |
he sent me the data, but could not yet prepare and test it they are in the zip |
@shahriar350 is it still a problem or had you found the cause ? |
not really. I use ffjson instant of go-json. I check my code manually but always go-json failed to Marshal/Unmarshal my struct. but other package like fastjson/std json/ffjson works fine. As you recommend me to use this
i use this to my code and code works fine. Otherwise it send me some error like this:
|
@shahriar350 |
I've already send them as a issue but they tell me to make a pprof measurement. They tell me that might be a environment issues. Because i dont know about pprof, that's why i cannot measure that. Here is my code Could anyone please check? |
we will check it out, may take a little while as there are many issues on the table at the moment unfortunately you will have to be patient for a while |
Yes. that's why i normally use ffjson for json encoder and decoder and waiting for your future response. |
I'll look on weekend |
goccy/go-json#331 (comment) |
Here the result:
But @ReneWerner87 gives a solution to add this to my code
now It takes:
c.JSON() works faster than before.
The text was updated successfully, but these errors were encountered: