ctags-json-output(5) Universal Ctags ctags-json-output(5) (NAME) ctags-json-output - ctags JSON (SYNOPSIS) ctags --output-format=json ... (DESCRIPTION) Universal Ctags JSON ( JSON Lines ) ctags libjansson . JSON . (FORMAT) JSON (tag) . $ ctags --extras=+p --output-format=json --fields=-s input.py {"_type": "ptag", "name": "JSON_OUTPUT_VERSION", "path": "1.0", "pattern": "in development"} {"_type": "ptag", "name": "TAG_FILE_SORTED", "path": "1", "pattern": "0=unsorted, 1=sorted, 2=foldcase"} ... {"_type": "tag", "name": "Klass", "path": "/tmp/input.py", "pattern": "/^class Klass:$/", "language": "Python", "kind": "class"} {"_type": "tag", "name": "method", "path": "/tmp/input.py", "pattern": "/^ def method(self):$/", "language": "Python", "kind": "member", "scope": "Klass", "scopeKind": "class"} ... _ ctags . "--output-format=json --list-fields" . _ () JSON . _type . tag JSON . ptag (pseudo-tag) . . JSON_OUTPUT_VERSION . "1.0" . path . JSON . o kind . o (Scope) : scope scopeKind. tags . (DATA TYPE USED IN A FIELD) (string) JSON . (integer) (boolean) . "--output-format=json --list-fields" JSON . $ ctags --output-format=json --list-fields #LETTER NAME ENABLED LANGUAGE JSTYPE FIXED DESCRIPTION F input yes NONE s-- no input file ... P pattern yes NONE s-b no pattern ... f file yes NONE --b no File-restricted scoping ... e end no NONE -i- no end lines of various items ... JSTYPE . 's' (string) 'i' (integer) 'b' (boolean - true false) pattern ctags . (VERSIONS) "0.0" (Changes since 0.0) o kindName TAG_ROLE_DESCRIPTION kindName TAG_ROLE_DESCRIPTION . 0.0 "TAG_ROLE_DESCRIPTION" : {"_type": "ptag", "name": "TAG_ROLE_DESCRIPTION", "parserName": "LANG!KIND", } 1.0 : {"_type": "ptag", "name": "TAG_ROLE_DESCRIPTION", "parserName": "LANG", "kindName": "KIND", } (SEE ALSO) ctags(1), tags(5), ctags-client-tools(7) 1.0 ctags-json-output(5)