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

能否添加一个MarshalIndent在根方法那里? #665

Closed
athxx opened this issue Jul 6, 2024 · 1 comment · Fixed by #668
Closed

能否添加一个MarshalIndent在根方法那里? #665

athxx opened this issue Jul 6, 2024 · 1 comment · Fixed by #668

Comments

@athxx
Copy link

athxx commented Jul 6, 2024

现在的标准库有 json.MarshalIndent 这个方法,sonic要通过设定一个config才能使用sonic.ConfigStd.MarshalIndent,能否与标准包的方法保持一致?

@liuq19
Copy link
Collaborator

liuq19 commented Jul 8, 2024

感谢提醒,后续会添加这个接口

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

Successfully merging a pull request may close this issue.

2 participants