frankframework / frankframework/frankframework

Json2XmlValidator multi-array in json translate to ugly (yet technically valid) xml

Open
#8,307 0 comments 0 reactions 0 assignees View on GitHub
High Effort; Low Return JSON XML
Dominant language
Java
Stars
167
Forks
87
Avg merge
1d 2h
Merged PRs (30d)
206

Description

### Current Behavior

With the following json input:
```json
{
"array": [
[
"one",
"two"
],
[
"two",
"three"
],
[
"one",
"three"
]
]
}
```

The current output is:
```xml


one


two


two


three


one


three

```

### Expected Behavior

I would expect:
```xml


one
two


two
three


one
three

```

### Environment Information

7.8+ but this is not something that needs to be backported 😃 .

### Steps To Reproduce

See #7829 and `TestJson2Xml#testMultidimensionalArray()`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.