In a case where I have a JSON input text editor and JSON Parser (eg: Jackson), how do I link between the location of where my cursor is to what path in the JSON I'm currently looking for? Something similar to how when editing a JSON file in VSCode, it is able to detect what your cursor is at in the outline. For example, with JSON:
{
"employee": {
"name": "sonoo",
"salary": 56000,
"married": true
}
}
How do I retrieve what Line 3: Character 10 (the n in name) is pointing to in the JSON Object? Looking for libraries or implementations that may help.