Skip to content

shashankgaurav17/vue-json-to-table-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue JSON To Table Parser

A Vue component that renders JSON data in Table structure.

Installation:

npm install vue-json-to-table

Declare and Add:

Open `main.js` and add the following:

import VueJsonToTable from 'vue-json-to-table'
Vue.use(VueJsonToTable)

How to use:

Add the following in that component where you want to use
<vue-json-to-table :data="jsonDataArr"></vue-json-to-table>


Sample JSON Data


{
  "show": "Rick and Morty",
  "name": "Rick Sanchez",
  "associates_of_rick": ["Mr. Poopybutthole", "Scary Terry", "Mr. Meeseeks", "Noob Noob"],
  "best_friend": "Birdperson",
  "family_member": {
    "daughter": "Beth",
    "son_in_law": "Jerry Smith",
    "grand_son": "Morty",
    "grand_daughter": "Summer"
  },
  "awards_list": [
    {
      "year": "2014",
      "name": "BTVA Voice Acting Awards"
    },
    {
      "year": "2015",
      "name": "IGN Awards"
    },
    {
      "year": "2017",
      "name": "Golden Reel Awards"
    },
    {
      "2017": [
        {
          "category": "TV Series of the Year",
          "result": "WON"
        },
        {
          "category": "Best TV Episode",
          "result": "LOST"
        },
        {
          "category": "Best Comedic TV Performance",
          "result": "WON"
        }
      ]
    }
  ]
}

About

Create Table from JSON

Resources

Stars

Watchers

Forks

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy