• 请不要在回答技术问题时复制粘贴 AI 生成的内容
yigeshitou
V2EX  ›  程序员

搭了一个 json 编辑的网站,大家看看是不是有点用,个人感觉这个编辑器还挺好用的

  •  
  •   yigeshitou · Oct 15, 2020 · 3567 views
    This topic created in 2063 days ago, the information mentioned may be changed or developed.

    本来是一直用的 https://jsoneditoronline.org/ 后来因为一个是国外的网站,访问有点慢 还有就是布局有点不舒服

    因为这是个开源网站,我就拿来自己改了下

    http://json123.net/

    17 replies    2020-10-19 10:58:28 +08:00
    iblislsy
        1
    iblislsy  
       Oct 15, 2020
    右边 key 的间距弄小一点
    yigeshitou
        2
    yigeshitou  
    OP
       Oct 15, 2020
    @iblislsy 是说上下的间距么?我试试。。
    no1xsyzy
        3
    no1xsyzy  
       Oct 15, 2020
    瞬间发现一个 bug,右侧编辑后 key 为 0|[1-9][0-9]* 的情况下会按数字大小顺序显示在左侧开头而不是右侧编辑的位置上。
    同样地,左侧编辑后 key 为 0|[1-9][0-9]* 的情况下会按数字大小显示在右侧的最后。
    mscststs
        4
    mscststs  
       Oct 15, 2020
    这配色……脑阔疼
    no1xsyzy
        5
    no1xsyzy  
       Oct 15, 2020
    @no1xsyzy 并且原本那个网站就这样……
    Saszr
        6
    Saszr  
       Oct 16, 2020
    右边的配色 看着头大
    字体也不是常用的 会有点难适应
    netnr
        7
    netnr  
       Oct 16, 2020
    对比一下: https://json.netnr.com
    yigeshitou
        8
    yigeshitou  
    OP
       Oct 16, 2020
    @mscststs 确实。。还是白底比较好
    skys215
        9
    skys215  
       Oct 16, 2020
    巧了,我是把 regexr.com 翻译了做成 regexr-cn.com 了,是个正则测试工具
    byfar
        10
    byfar  
       Oct 16, 2020
    好的我是竞品: https://json.6cm.co
    Chenamy2017
        11
    Chenamy2017  
       Oct 16, 2020
    左边编辑,右边放树状图,个人感觉很别扭,可能是习惯问题吧(经常使用 Notepad++带的 json 插件)。
    jackrebel
        12
    jackrebel  
       Oct 16, 2020
    @skys215 这是一个非常牛逼的正则工具, 我准备收藏一下。https://www.8kmm.com/sites/3663.html
    lori01
        13
    lori01  
       Oct 16, 2020
    第一次进入页面好慢
    chogath
        14
    chogath  
       Oct 16, 2020
    挺好的
    yigeshitou
        15
    yigeshitou  
    OP
       Oct 17, 2020
    换了一套配色,大家看看可以了么
    yigeshitou
        16
    yigeshitou  
    OP
       Oct 19, 2020
    @lori01 加了 cdn 部署,你可以再看看,我感觉是快了,哈哈哈
    yigeshitou
        17
    yigeshitou  
    OP
       Oct 19, 2020
    @chogath 我感觉右边的树形编辑器挺好用的,写个 json 挺方便
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   969 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 19:24 · PVG 03:24 · LAX 12:24 · JFK 15:24
    ♥ Do have faith in what you're doing.