Add JSON block to Git Readme file Wiki pages

Today in this article we will see How to Add JSON to Git Readme markup and style the JSON block.

Today in this article, we will cover below aspects,

JSON can be embedded in the markup readme file using multiple ways. Below we will see a few simple approaches to adding JSON to readme.md file

Add JSON to Git Readme

Syntax

```json

Your JSON here

```

Example

Below is a sample example,

```json

{

  "Customer": {
    "CustomerKeyurl": "http://customer-dev/key",
    "CustomerdetailsUrl": "http://customer-dev/id",
    "Agency": {
      "AgencyID": "subvalue1_from_json",
      "AccountKey": 200
    },
    "Agencies": [
      "Agency1",
      "Agency2",
      "Agency4",
      "Agency5",
      "Agency6"
    ]
  }
}

```

Below is how the final JSON looks like in the Git used with ADO, GitHub, or GitLab

Add JSON style to Git Readme markupadd json git readme markup file github gitlab bitbucket

References :

Do you have any comments or ideas or any better suggestions to share?

Please sound off your comments below.

Happy Coding !!



Please bookmark this page and share it with your friends. Please Subscribe to the blog to receive notifications on freshly published(2024) best practices and guidelines for software design and development.



Leave a Reply

Your email address will not be published. Required fields are marked *