forked from KOBA789/node.js_ja
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathquerystring.json
More file actions
80 lines (80 loc) · 4.34 KB
/
Copy pathquerystring.json
File metadata and controls
80 lines (80 loc) · 4.34 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"source": "doc/api/querystring.markdown",
"modules": [
{
"textRaw": "Query String",
"name": "querystring",
"stability": 3,
"stabilityText": "Stable",
"desc": "<!--\nThis module provides utilities for dealing with query strings.\nIt provides the following methods:\n-->\n\n<p>このモジュールはクエリ文字列を処理するユーティリティを提供します。 以下のメソッドから成ります:\n\n</p>\n",
"methods": [
{
"textRaw": "querystring.stringify(obj, [sep], [eq])",
"type": "method",
"name": "stringify",
"Serialize an object to a query string.\nOptionally override the default separator (`'&'`) and assignment (`'": "'`)\ncharacters.",
"desc": "<p>クエリオブジェクトを文字列へ直列化します。\nオプションとしてデフォルトの区切り文字 (デフォルトは <code>'&'</code>) と代入文字\n(デフォルトは <code>'='</code>) を上書き指定できます。\n\n</p>\n<!--\nExample:\n-->\n\n<p>例:\n\n</p>\n<pre><code>querystring.stringify({ foo: 'bar', baz: ['qux', 'quux'], corge: '' })\n// returns\n'foo=bar&baz=qux&baz=quux&corge='\n\nquerystring.stringify({foo: 'bar', baz: 'qux'}, ';', ':')\n// returns\n'foo:bar;baz:qux'</code></pre>\n",
"signatures": [
{
"params": [
{
"name": "obj"
},
{
"name": "sep",
"optional": true
},
{
"name": "eq",
"optional": true
}
]
}
]
},
{
"textRaw": "querystring.parse(str, [sep], [eq], [options])",
"type": "method",
"name": "parse",
"Deserialize a query string to an object.\nOptionally override the default separator (`'&'`) and assignment (`'": "'`)\ncharacters.\n\nOptions object may contain `maxKeys` property (equal to 1000 by default), it'll\nbe used to limit processed keys. Set it to 0 to remove key count limitation.",
"desc": "<p>クエリ文字列をオブジェクトに復元します。\nオプションとしてデフォルトの区切り文字 (<code>'&'</code>) と代入文字 (<code>'='</code>)\nを上書き指定できます。\n\n</p>\n<p>オプションオブジェクトは <code>maxKeys</code> を含むことができます (デフォルトは\n1000 です)。それはキーを処理する上限として使われます。\n0 を設定すると制限は取り除かれます。\n\n</p>\n<!--\nExample:\n-->\n\n<p>例:\n\n</p>\n<pre><code>querystring.parse('foo=bar&baz=qux&baz=quux&corge')\n// returns\n{ foo: 'bar', baz: ['qux', 'quux'], corge: '' }</code></pre>\n",
"signatures": [
{
"params": [
{
"name": "str"
},
{
"name": "sep",
"optional": true
},
{
"name": "eq",
"optional": true
},
{
"name": "options",
"optional": true
}
]
}
]
}
],
"properties": [
{
"textRaw": "querystring.escape",
"name": "escape",
"desc": "<!--\nThe escape function used by `querystring.stringify`,\nprovided so that it could be overridden if necessary.\n-->\n\n<p>escape 関数は <code>querystring.stringify</code> で使用されていて、必要な場合にオーバーライドできるよう提供されています。\n\n</p>\n"
},
{
"textRaw": "querystring.unescape",
"name": "unescape",
"desc": "<!--\nThe unescape function used by `querystring.parse`,\nprovided so that it could be overridden if necessary.\n-->\n\n<p>unescape関数は <code>querystring.parse</code> で使用されていて、必要な場合にオーバーライドできるよう提供されています。\n</p>\n"
}
],
"type": "module",
"displayName": "querystring"
}
]
}