---
schema_version: "1"
id: 05b88a34f15f9dfc3facef928d7d6924bb0920cee49f398700d89b9d93845da1
title: decodeURIComponent
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.7/dw-url-functions-decodeuricomponent.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.7/dw-url-functions-decodeuricomponent
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 1f1ce31ea45d8ba337fbad8e500a394ee06b94b74822f470da004a9b9adae903
description: MuleSoft Documentation Site
release: "2.7"
latest: false
---
# decodeURIComponent

## [](#decodeuricomponent1)decodeURIComponent(text: String): String

`encodeURIComponent`​ または類似のルーチンによって以前に作成された Uniform Resource Identifier (URI) コンポーネントをデコードします。

例については、「​`encodeURIComponent`​」を参照してください。

### [](#パラメーター)パラメーター

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>text</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">URI コンポーネント文字列。</p></td>
</tr>
</tbody>
</table>

### [](#例)例

次の例では、さまざまな URI コンポーネントをデコードします。

#### [](#ソース)ソース

```DataWeave
%dw 2.0
import * from dw::core::URL
output application/json
---
{
  "decodeURIComponent": {
    "decodeURIComponent" : decodeURIComponent("%20PATH/%20TO%20/DECODE%20"),
    "decodeURIComponent" : decodeURIComponent("%3B%2C%2F%3F%3A%40%26%3D"),
    "decodeURIComponent" : decodeURIComponent("%2D%5F%2E%21%7E%2A%27%28%29%24"),
  }
}
```

#### [](#出力)出力

```JSON
{
   decodeURIComponent: {
     decodeURIComponent: " PATH/ TO /DECODE ",
     decodeURIComponent: ";,/?:@&=",
    decodeURIComponent: "-_.!~*'()\$"
   }
}
```