---
schema_version: "1"
id: 97de1450e157b10d3d7cec7a15e6978c6bf7c7c23f9d72b66534b819e7efbbab
title: asExpressionString
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.3/dw-tree-functions-asexpressionstring.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.3/dw-tree-functions-asexpressionstring
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 7f7e43a594ce4e5d313aded1b12fe5024e43af183e70ec3b7cc1e0401baafdb8
description: MuleSoft Documentation Site
release: "2.3"
latest: false
---
# asExpressionString

## [](#asexpressionstring1)asExpressionString(Path): String

パスを文字列表現に変換します。

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

<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">path</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">文字列に変換するパス。</p></td>
</tr>
</tbody>
</table>

### [](#例)例

次の例では、パスを文字列表現に変換します。

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

```DataWeave
%dw 2.0
import * from dw::util::Tree
output application/json
---
asExpressionString([{kind: OBJECT_TYPE, selector: "user", namespace: null}, {kind: ATTRIBUTE_TYPE, selector: "name", namespace: null}])
```

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

```Json
".user.@name"
```