[SERVER-39119] Implement JSON Pointer class Created: 22/Jan/19 Updated: 29/Oct/23 Resolved: 06/Feb/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.8 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Nicholas Zolnierz | Assignee: | Ted Tuckman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Query 2019-01-28, Query 2019-02-11 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
JSON Pointers allow referencing other field paths starting with the root. This ticket is for adding a new class which is able to parse and store an absolute JSON pointer (no relative pointers), along with the ability to extract the pointed-to-element from a document. The details can be found in the RFC: https://tools.ietf.org/html/rfc6901 |
| Comments |
| Comment by Ted Tuckman [ 06/Feb/19 ] |
|
This ticket implements the JSONPointer spec except for in the following ways: 1. No special meaning for the '-' character. 2. The empty pointer "" does not return the entire document, and instead fails. |
| Comment by Githook User [ 06/Feb/19 ] |
|
Author: {'name': 'Ted Tuckman', 'email': 'ted.tuckman@mongodb.com', 'username': 'TedTuckman'}Message: |