@@ -60,7 +60,7 @@ msgid ""
60
60
":mod:`json` exposes an API familiar to users of the standard library :mod:"
61
61
"`marshal` and :mod:`pickle` modules."
62
62
msgstr ""
63
- ":mod:`json` 為標準函式庫 :mod:`marshal` 與 :mod:`pickle` 模組的使用者提供熟悉"
63
+ ":mod:`json` 為習慣標準函式庫 :mod:`marshal` 與 :mod:`pickle` 模組的使用者提供熟悉"
64
64
"的 API。"
65
65
66
66
#: ../../library/json.rst:29
@@ -111,7 +111,7 @@ msgid ""
111
111
"This module's encoders and decoders preserve input and output order by "
112
112
"default. Order is only lost if the underlying containers are unordered."
113
113
msgstr ""
114
- "這個模組的編、解碼器預設會保存輸入與輸出資料的順序關係,除非一開始的輸入本身就是無序的。(例如集合)"
114
+ "這個模組的編、解碼器預設會保存輸入與輸出資料的順序關係,除非一開始的輸入本身就是無序的。(例如集合 :class:`set` )"
115
115
116
116
#: ../../library/json.rst:135
117
117
msgid "Basic Usage"
@@ -123,7 +123,7 @@ msgid ""
123
123
"supporting :term:`file-like object`) using this :ref:`conversion table <py-"
124
124
"to-json-table>`."
125
125
msgstr ""
126
- "參考這個列表 :ref:`conversion table <py-to-json-table>` 將 *obj* 串聯化為"
126
+ "參考這個 \\ :ref:`轉換表 <py-to-json-table>`\\ 將 *obj* 串聯化為"
127
127
"符合 JSON 格式的字串流,並寫入到 *fp* (一個支援 ``.write()`` 方法的 :term:`file-like object`)"
128
128
129
129
#: ../../library/json.rst:146
@@ -377,7 +377,7 @@ msgid ""
377
377
"If the data being deserialized is not a valid JSON document, a :exc:"
378
378
"`JSONDecodeError` will be raised."
379
379
msgstr ""
380
- "如果被去序列化(deserialized)的資料不符合 JSON 格式,將會觸發 :exc:`JSONDecodeError` 例外。"
380
+ "如果被去序列化(deserialized)的資料不符合 JSON 格式,將會引發 :exc:`JSONDecodeError` 例外。"
381
381
382
382
#: ../../library/json.rst:280
383
383
msgid ""
@@ -545,49 +545,52 @@ msgid ""
545
545
"Return the Python representation of *s* (a :class:`str` instance containing "
546
546
"a JSON document)."
547
547
msgstr ""
548
+ "返回用 Python 方式表達的 *s*(一個含有 JSON 文件的 :class:`str` 實例(instance))"
548
549
549
550
#: ../../library/json.rst:382
550
551
msgid ""
551
552
":exc:`JSONDecodeError` will be raised if the given JSON document is not "
552
553
"valid."
553
- msgstr ""
554
+ msgstr "若給定的輸入不符合 JSON 格式會引發 :exc:`JSONDecodeError` 例外。 "
554
555
555
556
#: ../../library/json.rst:387
556
557
msgid ""
557
558
"Decode a JSON document from *s* (a :class:`str` beginning with a JSON "
558
559
"document) and return a 2-tuple of the Python representation and the index in "
559
560
"*s* where the document ended."
560
561
msgstr ""
562
+ "將 *s* (一個開頭部分含有合格 JSON 文件的 :class:`str`) 解碼,並將 JSON 文件結束點的索引值(index)和解碼結果合併為一個二元組(2-tuple)後回傳。"
561
563
562
564
#: ../../library/json.rst:391
563
565
msgid ""
564
566
"This can be used to decode a JSON document from a string that may have "
565
567
"extraneous data at the end."
566
568
msgstr ""
569
+ "這個方法可以用來解碼尾段可能帶有 JSON 以外資料的文字。"
567
570
568
571
#: ../../library/json.rst:397
569
572
msgid "Extensible JSON encoder for Python data structures."
570
- msgstr ""
573
+ msgstr "可擴充的 Python 資料結構 JSON 編碼器。 "
571
574
572
575
#: ../../library/json.rst:399
573
576
msgid "Supports the following objects and types by default:"
574
- msgstr ""
577
+ msgstr "預設可支援下列物件及型別: "
575
578
576
579
#: ../../library/json.rst:408
577
580
msgid "list, tuple"
578
581
msgstr "list, tuple"
579
582
580
583
#: ../../library/json.rst:412
581
584
msgid "int, float, int- & float-derived Enums"
582
- msgstr ""
585
+ msgstr "int, float, int- & float-derived Enums "
583
586
584
587
#: ../../library/json.rst:412
585
588
msgid "number"
586
- msgstr ""
589
+ msgstr "number "
587
590
588
591
#: ../../library/json.rst:421
589
592
msgid "Added support for int- and float-derived Enum classes."
590
- msgstr ""
593
+ msgstr "Added support for int- and float-derived Enum classes. "
591
594
592
595
#: ../../library/json.rst:424
593
596
msgid ""
0 commit comments