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”。

擴展截圖

screenshot

下載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.                    

擴展基本資訊

名稱 json-or-cobol-to-md-schema json-or-cobol-to-md-schema
ID fkenokkcpcdhipimcljpdamfaggbbelh
官方網址 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
    }
}