# Operations (sample payloads)

## Main operations

### Loop Forever

**Sample Input**

```json
{}
```

**Sample Output**

```json
{
    "index": 42
}
```

### Loop List

**Sample Input**

```json
\{
    "array": [
        "apple",
        "banana",
        "cherry",
        "date",
        "elderberry"
    ]
\}
```

**Sample Output**

```json
\{
    "value": "cherry",
    "count": 5,
    "index": 2,
    "is_first": false,
    "is_last": false
\}
```

### Loop Object

**Sample Input**

```json
{
    "object": {
        "name": "John Doe",
        "age": 30,
        "email": "johndoe@example.com",
        "isActive": true,
        "address": \{
            "street": "123 Main St",
            "city": "Anytown",
            "country": "USA"
        \},
        "hobbies": [
            "reading",
            "swimming",
            "photography"
        ]
    }
}
```

**Sample Output**

```json
\{
    "key": "email",
    "value": "johndoe@example.com",
    "is_first": false,
    "is_last": false
\}
```
