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

[FEATURE]预览和编辑的时候可以优先使用unicode json ,展示完整的中文 #384

Open
sunshicheng opened this issue Oct 30, 2024 · 1 comment

Comments

@sunshicheng
Copy link

{
"type": "human",
"data": {
"content": "user: \u4eca\u5929\u665a\u4e0a\u5403\u7684\u706b\u9505",
"additional_kwargs": {},
"response_metadata": {},
"type": "human",
"name": null,
"id": null,
"example": false
}
}这种里面有中文的,在鼠标放上去预览数据,和编辑的时候,都使用的json预览,需要点击,如果数据量很多的话,比较麻烦,希望改成优先使用unicode json

@tiny-craft
Copy link
Owner

unicode json方式有个不好的地方就是,修改完之后再保存回去,存的是编码后的内容。
默认的json格式化是经过逻辑优化,不会经过解析成对象再美化,所以速度上更快。


关于自动识别格式的优先级个性化设定确实有在我待办列表,最近都在忙着重写版本,新功能也都塞到重新的Pro版本中了

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

2 participants