class="add-code nl-34 ol-34"> 34
+
35
+    <div class="item"><strong>1、基础条款</strong></div>
36
+
37
+    <div class="indent">使用本服务,你应首先确认并保证你有完整的资格及权利同意本协议。你应保证你使用本服务,不会违反中化人民共和国(以下称“中国")或其他国家及地区所适用的任何法律、法规、规范性文件或对你有约束力的其他法律文件。</div>
38
+    <div class="indent">如果你代表企业事业单位、社会团体政府部门或其他组织而使用本服务,你应在此保证你已取得充分的授权。</div>
39
+    <div class="indent">在使用本服务时,你应遵守本协议的约定,以及所有适用的法律、法规及规范性文件的规定。你对你使用本服务的行为,以及对你通过本服务所发布的任何信息内容及其所造成的结果负有全部责任。</div>
40
+    <div class="indent">本服务中可能会包含一些广告或带有广告性质的信息内容,其内容和形式将根据具体情况的不同有所调整。你使用本服务,即视为同意我们及/或我们的合伙伙伴、第三方供应商与其他使用者发布该等信息内容。</div>
41
+
42
+    <div class="item"><strong>2、拍爱网络对你的授权</strong></div>
43
+
44
+    <div class="indent">当你同意接受本协议时,以你完全遵守本协议的条款为条件,拍爱网络授予你一项在全球范围内非独占性使用拍爱软件的免费授权,以使你能够使用本服务。该授权仅授予你本人,且你无权对该项授权进行转让或再授权。</div>
45
+
46
+    <div class="item"><strong>3、密码</strong></div>
47
+
48
+    <div class="indent">使用本服务,你可能需要设置一个登录密码。你应保护好你的密码,并对以该密码登录而发生的全部行为及其结果负责。如因密码丢失或遭窃而发生任何损失或损害,将由你自身承担。拍爱网络对此不承担任何责任。</div>
49
+
50
+    <div class="item"><strong>4、隐私</strong></div>
51
+
52
+    <div class="indent">我们制定了隐私政策(你点击即可打开并阅读该政策的全部内容)并致力于严格保护你的隐私。我们收集与使用你所提供的任何信息,都将遵从该政策;以此为前提,你在此确认理解并同意我们收集并使用你的信息。</div>
53
+
54
+    <div class="item"><strong>5、信息内容的一般条款</strong></div>
55
+
56
+    <div class="indent">本协议所述之“信息内容",是指你在使用本服务过程中所制作、复制、发布、传播的任何内容,包括但不限于用户名、头像、个人说明等信息,或语音、文本、照片、图片、视频,以及其他任何在本服务中上传、下载、目示或产生的内容。</div>
57
+    <div class="indent">本服务中全部信息内容,无论公开与否,均应由信息内容发布者承担全部责任。</div>
58
+    <div class="indent">我们依据中国法律保护言论自由,对信息内容的发布并不承担随时的监管或审杳义务,也不对该等内容负责。对本服务中信息内容的真实性有效性准确性或完整性我们均不作任何保证;信息内容所反映的观点,也不代表拍爱网络的立场,更不意味着取得了我们的支持或认可。</div>
59
+    <div class="indent">因此,使用本服务将意味着你可能接触到你会认为不当的、过度的、有害的、带有欺诈性质的、错误的,以及其他各种对你而言不适宜的信息内容。你应在此确认理解上述情形可能出现,并确认对任何信息内容及由该等内容所引起的损失或损害,拍爱网络并不承担任何责任。</div>
60
+    <div class="indent">同时,我们提示你,相信或应用任何在本服务中所获得的信息内容均具有一定风险,该风险将由你自身承担。</div>
61
+    <div class="indent">我们保留随时删除或拒绝发布信息内容的权利。</div>
62
+
63
+    <div class="item"><strong>6、信息内容的发布</strong></div>
64
+
65
+    <div class="indent">本协议所称之“发布",是指你将有关信息内容通过本服务以记载、存储、提交、发布、传送以及其他任何形式使你自身、本协议其他使用者或不特定公众可接收该等信息内容的过程。</div>
66
+    <div class="indent">你不得发布下列信息内容.</div>
67
+    <div class="indent">(1)违反中国宪法和法律的;</div>
68
+    <div class="indent">(2)危害国家安全泄露国家秘密,权,破坏国家统一的;</div>
69
+    <div class="indent">(3)煽动种族、民族仇恨、歧视的;</div>
70
+    <div class="indent">(4)散布谣言,扰乱公共秩序的;</div>
71
+    <div class="indent">(5)散布淫秽、色情、赌博、暴力、犯罪的,颠覆国家政恐怖或者教唆犯罪的;</div>
72
+    <div class="indent">(6)煽动非法集会、结社、游行、示威、聚众扰乱社会秩序的;</div>
73
+    <div class="indent">(7)侮辱或者诽谤他人,侵害他人名誉权、肖像权、隐私权、知识产权、商业秘密等公民及组织合法权益的;</div>
74
+    <div class="indent">(8)骚扰、非法广告信息及垃圾信息的;</div>
75
+    <div class="indent">(9)虚假或冒充、利用他人名义的,或虚构事实、隐瞒真相以误导、欺骗他人的;</div>
76
+    <div class="indent">(10)未经拍爱网络书面许可,利用本服务任何功能以及第三方运营平台进行推广或互相推广的;</div>
77
+    <div class="indent">(11)利用本服务从事任何违法犯罪活动的;</div>
78
+    <div class="indent">(12)无论是否出于商业目的,制作、发布与以上行为相关的方法、工具,或对此类方法、工具进行运营或传播的;</div>
79
+    <div class="indent">(13)其他违反法律、行政法规、规范性文件及公序良俗,或干扰本服务正常运营,或侵犯其他用户或第三方合法权益的信息内容。</div>
80
+
81
+    <div class="item"><strong>7、知识产权政策</strong></div>
82
+
83
+    <div class="indent">我们尊重并保护他人拥有的知识产权,希望你也如此。对于侵犯知识产权的举报,我们将受理并予以答复。</div>
84
+    <div class="indent">如果你认为拍爱上所发布的某信息内容构成侵权,请你向我们提供下列资料.</div>
85
+    <div class="indent">(1)知识产权人的亲笔签名文件,或授权其他人主张权利的授权文件;</div>
86
+    <div class="indent">(2)被侵权的知识产权证明文件;</div>
87
+    <div class="indent">(3)发生侵权行为的相关文件,以及有关链接地址等信息以使我们能够对其进行定位;</div>
88
+    <div class="indent">(4)你的联系方式,包括姓名、电话、邮件以及地址;</div>
89
+    <div class="indent">(5)依据诚信原则,你确信所举报行为未得到知识产权人或其代理人的授权或法律许可的声明文件;</div>
90
+    <div class="indent">(6)你承诺所举报信息真实准确,且你有权代表知识产权人主张权利的声明文件。</div>
91
+    <div class="indent">我们有权自行决定删除、标识任何被指控为侵权的信息内容,而无需事先进行通知,对此我们无需承担任何责任。并且,如果用户被多次指控侵权,我们有权给予警告,并限制、停止该用户账号的使用权。</div>
92
+
93
+    <div class="item"><strong>8、针对信息内容及本软件使用的限制</strong></div>
94
+
95
+    <div class="indent">我们保留当下列事宜发生且我们认为必要时,我们访问、读取、保护及披露相关信息及资料的权利:</div>
96
+    <div class="indent">(1)为满足有关法律、法规、规范性文件、司法程序及/或政府部门的要求;</div>
97
+    <div class="indent">(2)执行本协议,包括对可能违反本协议行为的调查;</div>
98
+    <div class="indent">(3)展开针对欺诈、网络安全或软件技术方面的调杳或防范;</div>
99
+    <div class="indent">(4)晌应使用者已提供证据支持的诉求;</div>
100
+    <div class="indent">(5)为保护拍爱网络、其用户及社会公众的权利、财产或安全。</div>
101
+    <div class="indent">无论是否出于商业目的,未经拍爱网络书面许可,禁止进行或试图进行下列行为:</div>
102
+    <div class="indent">(1)删除本软件及其副本上关于著作权的信息;</div>
103
+    <div class="indent">(2)进入、篡改或使用本服务、计算机系统或技术平台的任何非公开部分,对本软件进行反向工程反向汇编、反向编译,或者以其他方式尝试发现本软件的源代码;</div>
104
+    <div class="indent">(3)探测、扫描或测试任何系统或网络漏洞,或试图打破、规避任何安全认证;</div>
105
+    <div class="indent">(4)对拍爱网络拥有知识产权的内容进行使用、出租、出借、复制、修改、链接、转载、汇编、发表、出版、建立镜像站点等;</div>
106
+    <div class="indent">(5)对本软件或者本软件运行过程中释放到任何终端内存中的数据、软件运行过程中客户端与服务器端的交互数据,以及本软件运行所必需的系统数据,进行复制、修改、增加、删除、挂接运行或创作任何衍生作品,包括但不限于使用插件、外挂或非经拍爱网络授权的第三方工具/服务接入本软件和相关系统;</div>
107
+    <div class="indent">(6)通过修改或伪造软件运行中的指令、数据,增加、删减、变动软件的功能或运行效果,或者将用于上述用途的软件、方法进行运营或向公众传播;</div>
108
+    <div class="indent">(7)通过非拍爱网络开发、授权的第三方软件插件、外挂、系统,登录或使用本软件及服务,或制作、发布、传播上述工具;</div>
109
+    <div class="indent">(8)自行或者授权他人、第三方软件对本软件及其组件、模块、数据进行干扰;</div>
110
+    <div class="indent">(9)其他未经拍爱网络明示授权的相关软件行为。</div>
111
+
112
+    <div class="item"><strong>9、拍爱网络的权利</strong></div>
113
+
114
+    <div class="indent">拍爱网络排他性拥有与本服务相关的全部权利及权益。在全世界范围内,拍爱软件及其提供的全部服务受到著作权、商标权和其他适用法律的保护。</div>
115
+    <div class="indent">本协议未明示授权的一切权利由拍爱网络保留,你在行使这些权利时须另行取得书面许可。</div>
116
+    <div class="indent">在任何情形下,你使用本服务,都不意味着你对拍爱网络的软件名称、商标、标志域名或其所拥有的其他任何独特性标识享有任何权利。你在此确认,你理解你向我们所提供的反馈、评价或意见建议均为你自愿无偿提供,我们有权使用且无需对你承担任何义务或责任。</div>
117
+
118
+    <div class="item"><strong>10、账号及用户名</strong></div>
119
+
120
+    <div class="indent">使用本服务,你需要注册用户账号及用户名。本服务项下任何用户账号及用户名的所有权归拍爱网络所有。初始申请注册人完成申请注册手续后,仅获得拍爱账号及用户名的使用权。初始申请注册人不得赠与、借用、租用转让或售卖拍爱账号及用户名或者以其他方式许可非初始申请注册人使用拍爱账号及用户名。非初始申请注册人不得通过受赠、继承、承租、受让或者其他任何方式使用拍爱账号及用户名。</div>
121
+    <div class="indent">我们保留随时暂停或终止使用者使用权限、收回使用者账号及用户名的权利,在行使上述权利时无需承担任何责任。</div>
122
+
123
+    <div class="item"><strong>11、持续改进</strong></div>
124
+
125
+    <div class="indent">我们在此向你提示,本服务可能将不断进行改善、优化及调整,其外在表现形式与内在实质亦有可能发生变化;针对特定或全部用户,我们有可能暂停或终止本服务或本服务中的部分内容,也有可能对使用权限作出新的限制。对于上述调整及变化,我们有权自行作出决定,并可能无法在事前向你逐一发出通知。</div>
126
+    <div class="indent">若针对上述调整及变化而发布了新的软件版本,我们不保证旧版本项下的服务可继续使用,请你注意随时核对。</div>
127
+
128
+    <div class="item"><strong>12、协议终止</strong></div>
129
+
130
+    <div class="indent">除非依据下列方式由你或拍爱网络予以终止,本协议将持续具有法律约束力。</div>
131
+    <div class="indent">你可采用不再使用本服务的方式来终止你与拍爱网络的协议,而无需向拍爱网络发出特别通知。当你不再使用拍爱时,拍爱网络保留对长时间持续未登录账号予以注销的权利。</div>
132
+    <div class="indent">我们有权在任何时候,以任何理由限制、暂停或终止你账号的全部或部分服务功能,包括但不限于我们有合理理由,认为下列情形发生时:</div>
133
+    <div class="indent">(1)你违反了本协议以及拍爱的任何管理规则;</div>
134
+    <div class="indent">(2)你引致或可能引致我们承担风险或法律责任。当上述情形发生时,你使用本服务授权在内的相关协议条款将被终止,但本协议关于著作权保护、软件及信息安全免责与责任限制、纠纷解决机制等条款应继续存在及执行。</div>
135
+
136
+    <div class="item"><strong>13、免责与责任限制</strong></div>
137
+
138
+    <div class="indent">本节条款是在法律允许的最大限度内,对拍爱网络及其关联方、董事、管理层、雇员、代表、代理人、合作方及授权方(以下合称“拍爱关联方”)的免责与责任限制条款,因此我们特别提示你应仔细阅读并确保充分理解。</div>
139
+    <div class="indent">(1)按现状提供</div>
140
+    <div class="indent">你进入并使用本服务以及相关信息内容所造成的风险,将完全由你自身承担。你应充分理解并同意本服务是按照现状提供。拍爱关联方不保证你使用本服务不会侵权;无论明示与否,针对你使用本服务的任何特定目的,我们亦不做任何保证其能够得以实现。</div>
141
+    <div class="indent">你应确认并理解.(a)本服务或任何信息内容不一定是真实、准确、完整、及时、安全或可靠的,(b)因使用本服务或任何信息内容可能引起计算机系统故障、信息丢失或其他损失;(c)本服务可能无法持续不断的满足你的需求或在安全稳定、无错误的基础上持续提供。针对上述事项,拍爱关联方不承担任何责任。</div>
142
+    <div class="indent">(2)有关信息内容的存储及传送</div>
143
+    <div class="indent">你理解并同意拍爱关联方不能对你在本服务中的信息内容及数据之存储、传送及安全提供完全保证且对此不承担任何责任,包括但不限于.(a)不对你在本服务中相关数据的删除或存储、传送失败负责;(b)有权根据具体情况自行决定用户在本服务中数据的最长储存期限,以及在服务器中为其分配的数据最大存储空间,但你可根据需要自行备份本服务中的相关数据;(c)如果你停止使用本服务或你的账号被停用或注销,有权从服务器上永久删除你的数据,(d)不负有向你返还任何数据的义务。</div>
144
+    <div class="indent">(3)链接</div>
145
+    <div class="indent">本服务可能包含第三方链接。但该链接所指向的内容、商品或服务与拍爱关联方无关,我们不对其提供任何形式的保证或信用背书。你应确认理解,对该链接的有效性或准确性,以及该等链接所提供的内容、商品或服务,拍爱关联方不承担任何责任,因使用该等内容、商品或服务而引起的风险、损失或损害,将由你自身承担。</div>
146
+    <div class="indent">(4)责任限制</div>
147
+    <div class="indent">在法律所允许的最大限度内,拍爱关联方将不对:</div>
148
+    <div class="indent">(a)你登录及/或使用,或不能登录及/或使用本服务;(b)本服务中任何第三方的行为或信息内容,包括但不限于其他用户或第三方可能的诽谤、攻击或其他非法行为;(c)本服务中所获得的任何信息内容;以及(d)未经授权而登录、使用或更改你的信息内容等行为所造成的直接或间接损失承担责。</div>
149
+    <div class="indent"><strong>在任何情形下,拍爱关联方所承担的责任应不超过下列两项的孰高值:(a)之前六个月你为使用本服务所支付给拍爱网络的有关费用之和;(b)人民币壹仟元整(RMB¥1,000.00)。</strong></div>
150
+
151
+    <div class="indent"><strong>本节的责任限制条款将适用于拍爱关联方所承担的任何责任,无论该等责任是基于保证、合同、侵权或其他原因。</strong></div>
152
+
153
+    <div class="item"><strong>14、其他</strong></div>
154
+
155
+    <div class="indent">(1)弃权与可分割性</div>
156
+    <div class="indent">拍爱网络未行使本协议中的任何权利,并不构成其对该等权利的放弃。本协议任何条款无论因何种原因导致部分无效或不可执行其余条款的法律效力不受影晌。</div>
157
+    <div class="indent">(2)适用法律及管辖</div>
158
+    <div class="indent">本协议的成立、生效、履行解释及纠纷解决,适用中华人民共和国法律。若因使用本服务或与本服务相关的任何纠纷或争议,首先应友好协商解决;协商不成的,你同意应将纠纷或争议提交北京仲裁委员会申请仲裁,根据该会当时有效的仲裁规则进行仲裁,仲裁的地点在北京市,仲裁裁决是终局的,并对相关方均具有约束力。</div>
159
+    <div class="indent">(3)标题</div>
160
+    <div class="indent">本协议所有条款的标题仅为阅读方便,本身并无实际涵义,不能作为本协议解释的依据。</div>
161
+    <div class="indent">(4)最新协议</div>
162
+    <div class="indent">我们可能对本协议进行持续的调整及完善,并将最新版本的协议及时公布在拍爱网络的官方网站<a href="http://www.pai.ai">http://www.pai.ai</a>上,请你及时阅读;本协议条款变更后,如果你继续使用本服务,即视为你已接受修改后的协议条款。如果你不接受,你应停止使用本服务。</div>
163
+
164
+    <div class="indent">如你对本协议有任何疑问,请及时与我们取得联系。</div>
165
+
166
+
167
+
168
+    <div class="right">拍爱网络</div>
169
+    <div class="right">本生效日.2016.01.01</div>
170
+	
171
+	
172
+</div></div>
173
+<div id="footer">
174
+	<div class="content foot">
175
+	<a href="{%  url 'pai2_aboutus' %}" target="_self" >关于我们</a>
176
+	<span>|</span>
177
+	<a href="{%  url 'pai2_contactus' %}" target="_self" >联系我们</a>
178
+    <span>|</span>
179
+	<a href="{%  url 'pai2_termofservice' %}" target="_self" >服务条款</a>
180
+
181
+	©2016 拍爱 PAI.AI 琼ICP备16000076号
182
+	</div>
183
+</div>
184
+</body>
185
+</html>

+ 4 - 0
website/views.py

@@ -17,3 +17,7 @@ def pai2_contactus(request):
17 17
 
18 18
 def pai2_joinus(request):
19 19
     return render(request, 'website/joinus.html', {})
20
+
21
+
22
+def pai2_termofservice(request):
23
+    return render(request, 'website/termofservice.html', {})

adminSystem - Gogs: Go Git Service

Nenhuma Descrição

FFIB: 11e3a9652a first 8 anos atrás
..
lib 11e3a9652a first 8 anos atrás
CHANGELOG.md 11e3a9652a first 8 anos atrás
LICENSE.md 11e3a9652a first 8 anos atrás
README.md 11e3a9652a first 8 anos atrás
package.json 11e3a9652a first 8 anos atrás

README.md

JSON5 – Modern JSON

Build Status

JSON is an excellent data format, but we think it can be better.

JSON5 is a proposed extension to JSON that aims to make it easier for humans to write and maintain by hand. It does this by adding some minimal syntax features directly from ECMAScript 5.

JSON5 remains a strict subset of JavaScript, adds no new data types, and works with all existing JSON content.

JSON5 is not an official successor to JSON, and JSON5 content may not work with existing JSON parsers. For this reason, JSON5 files use a new .json5 extension. (TODO: new MIME type needed too.)

The code here is a reference JavaScript implementation for both Node.js and all browsers. It’s based directly off of Douglas Crockford’s own JSON implementation, and it’s both robust and secure.

Why

JSON isn’t the friendliest to write. Keys need to be quoted, objects and arrays can’t have trailing commas, and comments aren’t allowed — even though none of these are the case with regular JavaScript today.

That was fine when JSON’s goal was to be a great data format, but JSON’s usage has expanded beyond machines. JSON is now used for writing configs, manifests, even tests — all by humans.

There are other formats that are human-friendlier, like YAML, but changing from JSON to a completely different format is undesirable in many cases. JSON5’s aim is to remain close to JSON and JavaScript.

Features

The following is the exact list of additions to JSON’s syntax introduced by JSON5. All of these are optional, and all of these come from ES5.

Objects

  • Object keys can be unquoted if they’re valid identifiers. Yes, even reserved keywords (like default) are valid unquoted keys in ES5 [§11.1.5, §7.6]. (More info)

(TODO: Unicode characters and escape sequences aren’t yet supported in this implementation.)

  • Object keys can also be single-quoted.

  • Objects can have trailing commas.

Arrays

  • Arrays can have trailing commas.

Strings

  • Strings can be single-quoted.

  • Strings can be split across multiple lines; just prefix each newline with a backslash. [ES5 §7.8.4]

Numbers

  • Numbers can be hexadecimal (base 16).

  • Numbers can begin or end with a (leading or trailing) decimal point.

  • Numbers can include Infinity, -Infinity, NaN, and -NaN.

  • Numbers can begin with an explicit plus sign.

Comments

  • Both inline (single-line) and block (multi-line) comments are allowed.

Example

The following is a contrived example, but it illustrates most of the features:

{
    foo: 'bar',
    while: true,

    this: 'is a \
multi-line string',

    // this is an inline comment
    here: 'is another', // inline comment

    /* this is a block comment
       that continues on another line */

    hex: 0xDEADbeef,
    half: .5,
    delta: +10,
    to: Infinity,   // and beyond!

    finally: 'a trailing comma',
    oh: [
        "we shouldn't forget",
        'arrays can have',
        'trailing commas too',
    ],
}

This implementation’s own package.json5 is more realistic:

// This file is written in JSON5 syntax, naturally, but npm needs a regular
// JSON file, so compile via `npm run build`. Be sure to keep both in sync!

{
    name: 'json5',
    version: '0.5.0',
    description: 'JSON for the ES5 era.',
    keywords: ['json', 'es5'],
    author: 'Aseem Kishore <aseem.kishore@gmail.com>',
    contributors: [
        // TODO: Should we remove this section in favor of GitHub's list?
        // https://github.com/aseemk/json5/contributors
        'Max Nanasy <max.nanasy@gmail.com>',
        'Andrew Eisenberg <andrew@eisenberg.as>',
        'Jordan Tucker <jordanbtucker@gmail.com>',
    ],
    main: 'lib/json5.js',
    bin: 'lib/cli.js',
    files: ["lib/"],
    dependencies: {},
    devDependencies: {
        gulp: "^3.9.1",
        'gulp-jshint': "^2.0.0",
        jshint: "^2.9.1",
        'jshint-stylish': "^2.1.0",
        mocha: "^2.4.5"
    },
    scripts: {
        build: 'node ./lib/cli.js -c package.json5',
        test: 'mocha --ui exports --reporter spec',
            // TODO: Would it be better to define these in a mocha.opts file?
    },
    homepage: 'http://json5.org/',
    license: 'MIT',
    repository: {
        type: 'git',
        url: 'https://github.com/aseemk/json5.git',
    },
}

Community

Join the Google Group if you’re interested in JSON5 news, updates, and general discussion. Don’t worry, it’s very low-traffic.

The GitHub wiki is a good place to track JSON5 support and usage. Contribute freely there!

GitHub Issues is the place to formally propose feature requests and report bugs. Questions and general feedback are better directed at the Google Group.

Usage

This JavaScript implementation of JSON5 simply provides a JSON5 object just like the native ES5 JSON object.

To use from Node:

npm install json5
var JSON5 = require('json5');

To use in the browser (adds the JSON5 object to the global namespace):

<script src="json5.js"></script>

Then in both cases, you can simply replace native JSON calls with JSON5:

var obj = JSON5.parse('{unquoted:"key",trailing:"comma",}');
var str = JSON5.stringify(obj);

JSON5.parse supports all of the JSON5 features listed above (TODO: except Unicode), as well as the native reviver argument.

JSON5.stringify mainly avoids quoting keys where possible, but we hope to keep expanding it in the future (e.g. to also output trailing commas). It supports the native replacer and space arguments, as well. (TODO: Any implemented toJSON methods aren’t used today.)

Extras

If you’re running this on Node, you can also register a JSON5 require() hook to let you require() .json5 files just like you can .json files:

require('json5/lib/require');
require('./path/to/foo');   // tries foo.json5 after foo.js, foo.json, etc.
require('./path/to/bar.json5');

This module also provides a json5 executable (requires Node) for converting JSON5 files to JSON:

json5 -c path/to/foo.json5    # generates path/to/foo.json

Development

git clone git://github.com/aseemk/json5.git
cd json5
npm install
npm test

As the package.json5 file states, be sure to run npm run build on changes to package.json5, since npm requires package.json.

Feel free to file issues and submit pull requests — contributions are welcome. If you do submit a pull request, please be sure to add or update the tests, and ensure that npm test continues to pass.

License

MIT. See LICENSE.md for details.

Credits

Michael Bolin independently arrived at and published some of these same ideas with awesome explanations and detail. Recommended reading: Suggested Improvements to JSON

Douglas Crockford of course designed and built JSON, but his state machine diagrams on the JSON website, as cheesy as it may sound, gave me motivation and confidence that building a new parser to implement these ideas this was within my reach! This code is also modeled directly off of Doug’s open-source json_parse.js parser. I’m super grateful for that clean and well-documented code.

Max Nanasy has been an early and prolific supporter, contributing multiple patches and ideas. Thanks Max!

Andrew Eisenberg has contributed the stringify method.

Jordan Tucker has aligned JSON5 more closely with ES5 and is actively maintaining this project.