Unable to parse TAB in JSON files

前端 未结 5 1889
挽巷
挽巷 2020-12-05 17:32

I am running into a parsing problem when loading JSON files that seem to have the TAB character in them.

When I go to http://jsonlint.com/, and I e

5条回答
  •  被撕碎了的回忆
    2020-12-05 18:08

    Just to share my experience:

    I am using snakemake and a config file written in Json. There are tabs in the json file for indentation. TAB are legal for this purpose. But I am getting error message: snakemake.exceptions.WorkflowError: Config file is not valid JSON or YAML. I believe this is a bug of snakemake; but I could be wrong. Please comment. After replacing all TABs with spaces the error message is gone.

提交回复
热议问题