-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
48 lines (44 loc) · 6.74 KB
/
index.html
File metadata and controls
48 lines (44 loc) · 6.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>PowerJSON</title>
<meta name="description" content="Powerjson is json's improved data format.">
<link rel="icon" href="/logo.ico">
<script src="https://cdn.jsdelivr.net/npm/@powerjson/powerjson/index.js"></script>
<script src="//js.users.51.la/20411237.js"></script>
<script src="checkLanguage.js"></script>
<script src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" async="" data-ad-client="ca-pub-3771109326576181"></script>
<link rel="preload" href="/assets/css/0.styles.31cab9db.css" as="style"><link rel="preload" href="/assets/js/app.96713f73.js" as="script"><link rel="preload" href="/assets/js/2.66f31d6c.js" as="script"><link rel="preload" href="/assets/js/5.4521e0c4.js" as="script"><link rel="prefetch" href="/assets/js/10.d77f1660.js"><link rel="prefetch" href="/assets/js/3.b4cf16d0.js"><link rel="prefetch" href="/assets/js/4.5c91d4b2.js"><link rel="prefetch" href="/assets/js/6.d9c46a6e.js"><link rel="prefetch" href="/assets/js/7.1b46d820.js"><link rel="prefetch" href="/assets/js/8.ecff3342.js"><link rel="prefetch" href="/assets/js/9.5787b29f.js">
<link rel="stylesheet" href="/assets/css/0.styles.31cab9db.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container no-sidebar"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-exact-active router-link-active"><!----> <span class="site-name">PowerJSON</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/" class="nav-link router-link-exact-active router-link-active">首页</a></div><div class="nav-item"><a href="/docs/v1/" class="nav-link">文档</a></div><div class="nav-item"><a href="https://www.powerjson.org" target="_blank" rel="noopener noreferrer" class="nav-link external">
English
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/" class="nav-link router-link-exact-active router-link-active">首页</a></div><div class="nav-item"><a href="/docs/v1/" class="nav-link">文档</a></div><div class="nav-item"><a href="https://www.powerjson.org" target="_blank" rel="noopener noreferrer" class="nav-link external">
English
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav> <!----> </aside> <main class="page"> <div class="theme-default-content content__default"><br> <br> <br> <br> <br> <img src="logo-noopa.jpeg" height="60px">
<h1 style="font-size:50px;display:inline-block;position:relative;bottom:10px;">PowerJSON</h1> <h2 style="border:none;font-size:20px;">—— 由 JSON 改进而来的数据格式</h2> <br> <br> <p>支持 <strong>注释</strong>、<strong>多行字符串</strong>、<strong>导入文件</strong>、<strong>运算符</strong> 等等由 JSON 扩展而来的功能.</p> <div class="language-javascript extra-class"><pre class="language-javascript"><code><span class="token comment">// comment</span>
<span class="token comment">/*
comment
*/</span>
<span class="token punctuation">{</span>
text<span class="token punctuation">:</span> <span class="token string">'hello world'</span><span class="token punctuation">,</span>
MultiLineText<span class="token punctuation">:</span> <span class="token template-string"><span class="token template-punctuation string">`</span><span class="token string">
Welcome
to
PowerJSON!
</span><span class="token template-punctuation string">`</span></span><span class="token punctuation">,</span>
<span class="token comment">// file and import</span>
myFile<span class="token punctuation">:</span> <span class="token keyword">new</span> <span class="token class-name">File</span><span class="token punctuation">(</span><span class="token string">'./file.txt'</span><span class="token punctuation">)</span><span class="token punctuation">,</span>
importPJSONFile<span class="token punctuation">:</span> <span class="token keyword">new</span> <span class="token class-name">PJSON</span><span class="token punctuation">(</span><span class="token string">'./index2.pjson'</span><span class="token punctuation">)</span><span class="token punctuation">,</span>
getFile<span class="token punctuation">:</span> <span class="token keyword">new</span> <span class="token class-name">GET</span><span class="token punctuation">(</span><span class="token string">'http://www.powerjson.org'</span><span class="token punctuation">)</span><span class="token punctuation">,</span>
<span class="token comment">// operator</span>
tenDaySeconds<span class="token punctuation">:</span> <span class="token number">60</span> <span class="token operator">*</span> <span class="token number">60</span> <span class="token operator">*</span> <span class="token number">24</span> <span class="token operator">*</span> <span class="token number">10</span>
<span class="token punctuation">}</span>
</code></pre></div></div> <footer class="page-edit"><!----> <!----></footer> <!----> </main></div><div class="global-ui"></div></div>
<script src="/assets/js/app.96713f73.js" defer></script><script src="/assets/js/2.66f31d6c.js" defer></script><script src="/assets/js/5.4521e0c4.js" defer></script>
</body>
</html>