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

## [](#decodeuri1)decodeURI(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"
}
```