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/

貢獻者指南