New JSONPointer tests needed
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
Research direction
After #1078 is merged, find the existing JSONPointer unit tests and read how pointer, builder, and list-constructor cases are organized. Add tests covering the seven table rows, then run the relevant JSONPointer test suite and confirm each case selects the stated key or value after the change.
Written by the indexing model from the issue text.
Description
After #1078 is merged, add these unit tests to document the change:
| input | before 1078 | after 1078 |
|---|---|---|
| /~01, #/~01 | selects key / | selects key ~1 |
| /~00, #/~00 | selects key ~ | selects key ~0 |
| /a~01b | selects a/b | selects a~1b |
| /a~00b | selects a~b | selects a~0b |
| builder().append("~1") | selects / | selects ~1 |
| builder().append("~0") | selects ~ | selects ~0 |
| new JSONPointer(List.of("~1")) | selects / | selects ~1 |
- Dominant language
- Java
- Stars
- 4.7k
- Forks
- 2.6k
- Avg merge
- 6d 20h
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from stleary/JSON-java
-
Fix before the next release
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Fix before the next release
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Active discussion
Difficulty 5/5 Over a week Newbie friendliness 35/100
All issues in stleary/JSON-java
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
elastic/gradle-plugins#157 ·
-
enhancement Tools
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
apache/rocketmq-dashboard#5008 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
DETECT_PARAMETER_NAMES=false silently disables @ConstructorProperties-based Creator detection too Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
FasterXML/jackson-databind#6229 ·