-
Notifications
You must be signed in to change notification settings - Fork 628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ctags json output is wrongly formatted #3305
Comments
Sorry for making you confused. |
Thanks I understood. I parsed the information line by line |
About the "json" output, see https://docs.ctags.io/en/latest/man/ctags-client-tools.7.html#json-output . |
how to Compile with json supported ? |
See #3272. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The name of the parser:C-parser
The command line you used to run ctags:
ctags.exe -R --languages=C --sort=yes -x --kinds-C=* --file-scope=yes --output-format=json -f tag2.txt
The version of ctags:
ctags --version
Universal Ctags 5.9.0(p5.9.20220306.0), Copyright (C) 2015-2022 Universal Ctags Team
Universal Ctags is derived from Exuberant Ctags.
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
Compiled: Mar 6 2022, 01:06:23
URL: https://ctags.io/
Optional compiled features: +win32, +wildcards, +regex, +gnulib_regex, +internal-sort, +unix-path-separator, +iconv, +option-directory, +xpath, +json, +interactive, +yaml, +case-insensitive-filenames, +packcc, +optscript, +pcre2
the problem is the format of output json file is wrong and I cant not work with in python it says the formats is wrong and and I checked format in json format checker it was wrong
sample of json output
jsontags.txt
python error
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 2 column 1 (char 93)
The text was updated successfully, but these errors were encountered: