1

写了一个 JSON 格式化, JSON 互转 XML, JSON 互转 YAML 在线工具。

 8 months ago
source link: https://www.v2ex.com/t/1006009
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  分享创造

写了一个 JSON 格式化, JSON 互转 XML, JSON 互转 YAML 在线工具。

  tool2d · 3 小时 27 分钟前 · 378 次点击
作为前端,100%逃不开 JSON ,但是 JSON 并不是 javascript ,写法非常严格。我原来发过一个帖子专门讨论过这个问题:

/t/913479

举个例子,比如{hello world:测试 文字},这个是无论如何也通过不了 JSON 标准序列化函数,因为 key 没加双引号,value 也没加,中间还有空格。

但我就是希望这样纯手写,类似于 javascript 的语法,能够正常工作。于是就诞生了这个转换工具。

语法本该自由,不该束手束脚。

https://tool2d.com/#json

Oge9Y1M.jpeg

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK