data-prepper
data-prepper copied to clipboard
Allow ~ in keys for escaped json pointer characters
Description
Json pointer uses ~ character as the escape sequence in some places. For example, a literal / in the key name will be escaped with ~1, but Data Prepper JacksonEventKey is blocking this by not allowing ~ character
Issues Resolved
Resolves #5101
Check List
- [x] New functionality includes testing.
- [ ] New functionality has a documentation issue. Please link to it in this PR.
- [ ] New functionality has javadoc added
- [x] Commits are signed with a real name per the DCO
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.