pub fn json_path_keys_at(source: &str, offset: TextSize) -> Option<Vec<String>>Expand description
When the cursor sits inside the literal of <expr>->'<cursor> or
<expr>->>'<cursor>, return the JSON keys observed in same-buffer
jsonb literals ('{"key":...}') so the user can autocomplete
instead of guessing. Handles chained paths: col->'a'->'b'->'<cursor>'
walks into nested objects of the harvested literals and surfaces
only the keys present at depth a.b. Returns None outside this
context.