[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:
Depends
is depended on by SERVER-39249 Reject commands which reference an en... Closed
is depended on by SERVER-39273 [FLE] Resolve JSON pointer keyId for ... Closed
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: SERVER-39119 Implement JSON Pointer class
Branch: master
https://github.com/mongodb/mongo/commit/f62c55d24132f03216159470a53162e52abd1645

Generated at Thu Feb 08 04:51:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.