diff options
author | Florian Dieminger <me@fiji-flo.de> | 2021-02-11 18:29:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-11 18:29:51 +0100 |
commit | 2bc5610921312613f8623f7ed347aa576689b2b6 (patch) | |
tree | f17a7a00e232c97d1335ff3cb24dbcfafacfe141 /files/zh-cn/glossary/serialization/index.html | |
parent | 964decad361766e85d928a56f0ab80af0e75c172 (diff) | |
parent | fc56124ac4eda6b3f0349c8a16fa750f27b4c7d6 (diff) | |
download | translated-content-2bc5610921312613f8623f7ed347aa576689b2b6.tar.gz translated-content-2bc5610921312613f8623f7ed347aa576689b2b6.tar.bz2 translated-content-2bc5610921312613f8623f7ed347aa576689b2b6.zip |
Merge pull request #32 from fiji-flo/unslugging-zh-cn
Unslugging zh cn
Diffstat (limited to 'files/zh-cn/glossary/serialization/index.html')
-rw-r--r-- | files/zh-cn/glossary/serialization/index.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/files/zh-cn/glossary/serialization/index.html b/files/zh-cn/glossary/serialization/index.html new file mode 100644 index 0000000000..1a90c7754a --- /dev/null +++ b/files/zh-cn/glossary/serialization/index.html @@ -0,0 +1,24 @@ +--- +title: Serialize +slug: Glossary/Serialization +tags: + - Glossary + - JavaScript + - Serialize +translation_of: Glossary/Serialization +translation_of_original: Glossary/Serialize +original_slug: Glossary/Serialize +--- +<p>序列化(Serialization )意味着将 {{Glossary("object", "对象")}} 或某种其他类型的数据结构转换为可存储格式(例如,文件或 {{Glossary("buffer")}})。</p> + +<p>在 {{Glossary("JavaScript")}} 中,你可以通过调用 {{jsxref("JSON.stringify()")}} {{Glossary("function", "函数")}}将某个值序列化为 {{Glossary("JSON")}} 格式的 {{Glossary("string", "字符串")}}。</p> + +<p>{{Glossary("CSS")}} 值可以通过调用 {{domxref("CSSStyleDeclaration.getPropertyValue()")}} 函数来序列化。</p> + +<h2 id="了解更多">了解更多</h2> + +<h3 id="General_knowledge">General knowledge</h3> + +<ul> + <li><a href="https://en.wikipedia.org/wiki/Serialization">Serialization</a> on Wikipedia</li> +</ul> |