FasterXML / FasterXML/StaxMate

Add a convenience method for reading "all text values of all child elements"

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
45
Forks
12
PR merge metrics
No merged PRs in 30d

Description

A relatively common case seems to be that of mapping structures like, say:

```

text
...
textN

```

Iterating over this structure is not super hard, but it would be nice to just have a method for "reading it all in", to produce map like:

```
{ "elem1" : "text", ... , "elemN" : "textN" }
```

and then let caller do whatever it needs to. Textual content should probably be simple collected with 'collectDescendantText', to work even if sub-elements were included.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.