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

动态结构的json 结构,反序列化成map[string]interface{} #457

Open
Hello-World-0X opened this issue Apr 29, 2020 · 1 comment
Open

Comments

@Hello-World-0X
Copy link

@Hello-World-0X Hello-World-0X commented Apr 29, 2020

这种情况下,jsoniter貌似与标准库相比,提升并不大,是我打开方式有问题吗?
另外想请问下,针对这种十分动态的json结构的反序列化,是否有其他的提升性能的反序列化方式呢?
多谢

@AllenX2018
Copy link
Collaborator

@AllenX2018 AllenX2018 commented May 6, 2020

不太清楚你的具体使用场景,但是可以试一下用懒解析接口(jsoniter.Get().ToXXX())看是否能满足你的需求

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.