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太大的时候拖动很麻烦) #71

Open
wjx0912 opened this issue Feb 11, 2025 · 8 comments
Open

希望可以无限缩小(json太大的时候拖动很麻烦) #71

wjx0912 opened this issue Feb 11, 2025 · 8 comments
Assignees
Labels
enhancement New feature or request

Comments

@wjx0912
Copy link

wjx0912 commented Feb 11, 2025

比如这个
https://gist.githubusercontent.com/wjx0912/4e1416c28a81e26b4f6f41b1dd0e05a5/raw/e19757386fdcae2b5948e20ed71718ac3758815c/test.json

json的行数可能会很多,几w行的很常见。但是缩放到一定程度就不能再缩小了,需要不停的拖动,希望能解除限制。谢谢

@wjx0912 wjx0912 added the enhancement New feature or request label Feb 11, 2025
@wjx0912 wjx0912 changed the title 可以无限缩小(json太大的时候拖动很麻烦) 希望可以无限缩小(json太大的时候拖动很麻烦) Feb 11, 2025
@wjx0912
Copy link
Author

wjx0912 commented Feb 11, 2025

jsoncrack有行数限制。每月7美金实在搞不去。期待作者越做越好。辛苦了

@loggerhead
Copy link
Owner

无限缩小很麻烦。可以说说是因为什么原因需要「不停的拖动」么?我想似乎只有对数据完全未知,并且需要了解大致结构时,会需要拖来拖去看看整体结构?

@wjx0912
Copy link
Author

wjx0912 commented Feb 17, 2025

@loggerhead 是的。用于分析各种json(针对视频站点的爬虫项目),行数确实很长,分析结构的时候能缩小到一屏的话就很方便了。
感谢作者~

@wjx0912
Copy link
Author

wjx0912 commented Feb 17, 2025

https://raw.githubusercontent.com/wjx0912/tmp/refs/heads/main/peacock_playlists.json
这个是刚分析某个站点的json。超过29w行(实际上超过百万行的json也很常见)。想用json4u分析。不知道是否容易修改。再次谢谢

@loggerhead
Copy link
Owner

@wjx0912 明白啦。无限缩小会有严重的性能问题,我评估一下能不能加个略缩图来支持。不过我近期较忙,可能得下半年才有空支持了。

@wjx0912
Copy link
Author

wjx0912 commented Feb 18, 2025

@loggerhead 谢谢

@wjx0912 wjx0912 closed this as completed Feb 18, 2025
@wjx0912
Copy link
Author

wjx0912 commented Feb 18, 2025

@loggerhead 再次冒昧打扰下,能不能直接开放无限缩小呢,至于‘无限缩小会有严重的性能问题’,这个可以向公司申请个高配电脑,好点的显卡也就一两万而已。谢谢啦

@wjx0912 wjx0912 reopened this Feb 18, 2025
@loggerhead
Copy link
Owner

@loggerhead 再次冒昧打扰下,能不能直接开放无限缩小呢,至于‘无限缩小会有严重的性能问题’,这个可以向公司申请个高配电脑,好点的显卡也就一两万而已。谢谢啦

浏览器用于渲染的线程只有一个,因此性能跟显卡和 CPU 核数无关。上面提到的「略缩图」会做成 minimap 的交互,你点击其中某个点会跳转到相应的位置,这样能替代「无限缩小」么?(另外不要关闭 issue,也不用这么客气 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants