---
schema_version: "1"
id: adcd3f886edb798381d5fd3aec2c7acaf1e5c23b2c4562d41c4b8d315dba3f8d
title: entrySet
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.5/dw-objects-functions-entryset.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.5/dw-objects-functions-entryset
source_site: docs.mulesoft.com
content_type: documentation
content_hash: d70601277e80255a9cf2f75e2a44e2d8f36fd5e17d16e2bee7af74139b28449b
description: MuleSoft Documentation Site
release: "2.5"
latest: false
---
# entrySet

## [](#entryset1)entrySet<T <: Object>(obj: T): Array<{| key: Key, value: Any, attributes: Object |}>

入力オブジェクトのキー、値、任意の属性を表すキー - 値ペアの配列を返します。

_この関数は​**非推奨**​です。代わりに ​[dw::Core::entriesOf](https://docs.mulesoft.com/jp/dataweave/2.5/dw-core-functions-entriesof)​ を使用してください。_

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

<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>obj</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">表す対象の ​<code>Object</code>​。</p></td>
</tr>
</tbody>
</table>

### [](#例)例

次の例では、変数 ​`myVar`​ で指定されたオブジェクトのキー、値、属性を返します。

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

```DataWeave
%dw 2.0
import * from dw::core::Objects
var myVar = read('<xml attr="x"><a>true</a><b>1</b></xml>', 'application/xml')
output application/json
---
{ "entrySet" : entrySet(myVar) }
```

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

```JSON
{
  "entrySet": [
    {
       "key": "xml",
       "value": {
         "a": "true",
         "b": "1"
       },
       "attributes": {
         "attr": "x"
       }
    }
  ]
}
```