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

## [](#decodeuri1)decodeURI(text: String): String

URI 内のエスケープシーケンス (​`%20`​ など) をデコードします。

この関数は、エンコードされた URI 内の各エスケープシーケンスをそれが表す文字に置き換えますが、​`encodeURI`​ によって挿入された可能性のないエスケープシーケンスはデコードしません。文字 ​`#`​ はエスケープシーケンスからデコードされません。

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

<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>

### [](#例)例

次の例では、スペースに使用される URL パーセントエンコード ​`%20`​ を含む URI をデコードします。

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

```DataWeave
%dw 2.0
import * from dw::core::URL
output application/json
---
{
  "decodeURI" : decodeURI('http://asd/%20text%20to%20decode%20/text')
}
```

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

```JSON
{
  "decodeURI": "http://asd/ text to decode /text"
}
```