New JsonPointer method: public boolean startsWith(JsonPointer other) - #1636
Conversation
Also added JsonPointerStartsWithTest that tests the new method.
|
Will review more tomorrow, but looks good. The only process thing: have I asked for CLA before? If so, never mind, but if not, would need it from: https://github.com/FasterXML/jackson/blob/main/CLA-jackson-2026.pdf and as usual, covers all PRs. Filled & signed, email to Looking forward to merging this! |
I'm going to be away next week (Aug 27), so will try to get you the cla before going. For my information, other than yourself, who is considered 'maintainers of the Jackson project'? FWIW, I did generate this code and tests via an AI service: codeconvert.ai. According to their terms, I retain all rights wrt the generated code. |
Done. |
It'd be devs with push access to one or more of Jackson repos, half a dozen devs such as @pjfanning and @JooHyukKim. |
First didn't see it, but then found out GMail had put in spam, all good now. :) |
|
Merged; thank you @scottslewis ! |
frm line 206-207 of JRefModule discussed starting with this comment: FasterXML#6045 (comment) The fix is to use the newly merged JsonPointer.startsWith(JsonPointer other) method added in jackson-core via pr this pr: FasterXML/jackson-core#1636 This means that the latest of Jackson-core 3.x branch will be required to compile the updated JRefModule.
See FasterXML/jackson-databind#6045 (comment) for context for this addition.
Fixes #1637.
Also added JsonPointerStartsWithTest to test startsWith method.