glideapps/quicktype

Accept JSON5 as input

已关闭

#1,144 创建于 2018年12月31日

 (2 条评论) (3 个反应) (0 位负责人)TypeScript (968 个派生)batch import
good first issueinput:JSON

仓库指标

星标
 (10,867 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

JSON is a pretty rigid format, even changes from double quotes to single quotes would fail its validation. It happened many times to me that what I really need to input is not a strict JSON but a Javascript Object. In this regards I think it would be quite convenient if we can add JSON5 as an input source, which is 100% compatible with standard JSON, but with steroids to make most normal Javascript Objects valid as well. For reference, here is the specification of JSON5 https://json5.org/

贡献者指南