json-or-cobol-to-md-schema
Turn JSON Res or Req bodies, COBOL files (.CBL or .LK), or bare JSON objects into a Markdown table defining its schema
什么是json-or-cobol-to-md-schema?
json-or-cobol-to-md-schema是由atlc开发的Chrome扩展程序,该扩展的主要功能是“Turn JSON Res or Req bodies, COBOL files (.CBL or .LK), or bare JSON objects into a Markdown table defining its schema”。
扩展截图
下载json-or-cobol-to-md-schema扩展crx文件
下载json-or-cobol-to-md-schema扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。
扩展使用说明
******************** NOTE TO OTHER DEVELOPERS ************************** This was developed for my organization's purposes, and consequently looks through objects matching our exact specific format. There is no guarantee it will work with other standards; a guide is available at << FORMAT GUIDE ON GITHUB >> on what it expects. If there's some other format you'd like me to implement, please open up an issue on the Github repo and I'll happily add that to the implementation queue. ************************************************************************ This adds a feature to the right click menu to give you the ability to turn highlighted COBOL source code, a COBOL linkage library (.LK), JSON Request or Response bodies, or just a singular plain object into a Markdown table briefly describing the schema, in a format like << BELOW >>. Alternatively, the keyboard shortcut Ctrl+Alt+Z will bring up a prompt box to where you can paste another JSON body to the same effect. Depending on how far along the JSON parsing process this is - if you are to send an invalid JSON body, it will fail silently if early (AKA if you didn't send a JSON body but something else altogether), or later will let you know if it's a bad JSON body (I.E. a bad field or broken syntax). You must select the whole JSON body, and only the JSON body. The two COBOL parsers use regex, so any selections that capture the full request will work. It's better to select more than less in this case.
扩展基本信息
名称 | ![]() |
ID | fkenokkcpcdhipimcljpdamfaggbbelh |
官方URL | https://chrome.google.com/webstore/detail/fkenokkcpcdhipimcljpdamfaggbbelh |
简介 | Turn JSON Res or Req bodies, COBOL files (.CBL or .LK), or bare JSON objects into a Markdown table defining its schema |
文件大小 | 4.67 KB |
安装次数 | 38 |
当前版本 | 1.1.0 |
更新时间 | 2019-10-28 |
上架时间 | 2019-10-28 |
开发者 | atlc |
电子邮箱 | [email protected] |
付费类型 | free |
扩展官网 | https://github.com/atlc/JSON-or-COBOL-to-MD-schema-extension |
支持的语言 | en-US |
manifest.json | |
{ "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx", "name": "json-or-cobol-to-md-schema", "version": "1.1.0", "description": "Turn JSON Res or Req bodies, COBOL files (.CBL or .LK), or bare JSON objects into a Markdown table defining its schema", "manifest_version": 2, "permissions": [ "contextMenus" ], "commands": { "call-conversion-function": { "suggested_key": { "default": "Ctrl+Shift+Z", "mac": "Command+Shift+Z" }, "description": "Call up the prompt for the JSON translation function" } }, "background": { "scripts": [ "background.js" ], "persistent": false } } |