titus.inspector.defs.extcomplete

titus.inspector.defs.extcomplete(node, items)[source]

Tab completion routine for JSON extraction (everything after an opening square bracket).

Parameters:
  • established (string) – text that has been established and is not subject to completion (everything up to the last ,)
  • active (string) – text to be completed (anything after the last ,)
Return type:

list of strings

Returns:

list of possible completions