jakartaee / jakartaee/jsonp-api
Parsing a sequence of JSON values that are not enclosed in a JSON array
- Dominant language
- Java
- Stars
- 160
- Forks
- 64
- Avg merge
- 4d 5h
- Merged PRs (30d)
- 4
Description
Parsing a sequence of JSON objects is not possible, but the standard says:
````
JsonParser can be used to parse sequence of JSON values that are not enclosed in a JSON array, e.g. { } { }. The following code demonstrates how to parse such sequence.
JsonParser parser = Json.createParser(...);
while (parser.hasNext) {
parser.next(); // advance parser state
JsonValue value = parser.getValue();
}
````
See also: https://github.com/leadpony/joy/issues/14
Contributor guide
Research direction
Start with the JsonParser API and compare its current behavior with the standard's sequence-of-values example. Review the related leadpony/joy issue for context, then verify that the requested sequence can be parsed and each JsonValue retrieved without an enclosing array.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100