代码之家  ›  专栏  ›  技术社区  ›  Edgar Navasardyan

sentry-在引号中包含json字段的设置

  •  2
  • Edgar Navasardyan  · 技术社区  · 7 年前

    这里的问题很简单:我可以定制sentry将json字段转换成引号吗?

    enter image description here

    以便

    [{accessLevel: 0,....
    

    变成

    [{"accessLevel": 0,....
    
    1 回复  |  直到 7 年前
        1
  •  2
  •   Bruno Garcia    7 年前

    编辑:另一种方式:

    以json形式打开事件:

    JSON version of the event

    所有的钥匙都有引号。

    原始答案:

    我看到了两条路:

    请求一个特性来包装密钥,或者在单击按钮时打开和关闭密钥的位置。可以通过 issue tracker on GitHub the forum .

    或者简单地复制json和 pasting to a tool which adds the quotes for you ,在发布到任何需要这种格式的工具之前。我想是你在评论中提到的邮递员吧。

    或者两者都使用,使用第二个直到功能实现。

    推荐文章