在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:njvack/markdown-to-json开源软件地址:https://github.com/njvack/markdown-to-json开源编程语言:Python 100.0%开源软件介绍:Markdown to JSON converterDescriptionA simple tool to convert Markdown (technically CommonMark) data into JSON. It uses headings as JSON keys, and the stuff following headings as values. Lists are turned into arrays. Higher heading values yield nested JSON keys. Why the hell would I want to do this?Sometimes, you need to write JSON. Writing it by hand is a pain. It's a fiddly format and there are strings to escape and commas and it looks bad and you'll have validation errors and yuck. You could build a custom tool to write your particular JSON, but that's a bunch of work. You could use some JSON-specific editor, but they tend to be pretty neckbeard. Sometimes, you maybe just want to open a text editor and pump out a little nested data structure in a human-readable way. This lets you do that. Markdown is easy. As a point of reference, this tool was built to allow easy(-ish) creation of dataset descriptions for the Brain Imaging Data Structure data sharing specification. InstallationEasy method:
Also easy method:
The package has no external requirements and has been tested on python 2.6.6 through 3.4.3. You'll get one executable:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论