Advertisement
Guest User

Untitled

a guest
Mar 1st, 2024
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.32 KB | None | 0 0
  1. // default json
  2. {
  3.   "data": [
  4.     {
  5.       "profile": 1,
  6.       "logo": 2
  7.     },
  8.     "NVIDIA Corporation",
  9.     "logo.png"
  10.   ]
  11. }
  12.  
  13.  
  14. // nicer json
  15. {
  16.   "data": [
  17.     {
  18.       "profile": "NVIDIA Corporation",
  19.       "logo": "logo.png"
  20.     }
  21.   ]
  22. }
  23.  
  24.  
  25. // larger json snippet
  26. {
  27.   "type": "data",
  28.   "nodes": [
  29.     {
  30.       "type": "skip"
  31.     },
  32.     {
  33.       "type": "skip"
  34.     },
  35.     {
  36.       "type": "data",
  37.       "data": [
  38.         {
  39.           "profile": 1,
  40.           "logo": 16,
  41.           "description": 17,
  42.           "contact": 18,
  43.           "details": 23
  44.         },
  45.         {
  46.           "name": 2,
  47.           "country": 3,
  48.           "founded": 4,
  49.           "ipoDate": 5,
  50.           "industry": 6,
  51.           "sector": 9,
  52.           "employees": 12,
  53.           "ceo": 15
  54.         },
  55.         "NVIDIA Corporation",
  56.         "United States",
  57.         1993,
  58.         "1999-01-22",
  59.         {
  60.           "value": 7,
  61.           "url": 8
  62.         },
  63.         "Semiconductors",
  64.         "stocks/industry/semiconductors",
  65.         {
  66.           "value": 10,
  67.           "url": 11
  68.         },
  69.         "Technology",
  70.         "stocks/sector/technology",
  71.         {
  72.           "value": 13,
  73.           "url": 14
  74.         },
  75.         29600,
  76.         "stocks/nvda/employees",
  77.         "Jen-Hsun  Huang",
  78.         true,
  79.         "<p>NVIDIA Corporation provides graphics, and compute and networking solutions in the United States</p>",
  80.         {
  81.           "address": 19,
  82.           "phone": 20,
  83.           "website": 21,
  84.           "domain": 22
  85.         },
  86.         "2788 San Tomas Expressway<br>Santa Clara, California 95051<br>United States",
  87.         "408-486-2000",
  88.         "https://www.nvidia.com",
  89.         "nvidia.com",
  90.         {
  91.           "symbol": 24,
  92.           "exchange": 25,
  93.           "fiscalYear": 26,
  94.           "currency": 27
  95.         },
  96.         "NVDA",
  97.         "NASDAQ",
  98.         "February - January",
  99.         "USD"
  100.       ]
  101.     }
  102.   ]
  103. }
  104.  
  105.  
  106.  
  107.  
  108. // nicer larger json snippet
  109. {
  110.   "type": "data",
  111.   "nodes": [
  112.     {
  113.       "type": "skip"
  114.     },
  115.     {
  116.       "type": "skip"
  117.     },
  118.     {
  119.       "type": "data",
  120.       "data": [
  121.         {
  122.           "profile": {
  123.             "name": "NVIDIA Corporation",
  124.             "country": "United States",
  125.             "founded": 1993,
  126.             "ipoDate": "1999-01-22",
  127.             "industry": [
  128.               "Semiconductors",
  129.               "stocks/industry/semiconductors"
  130.             ],
  131.             "sector": [
  132.               "Technology",
  133.               "stocks/sector/technology"
  134.             ],
  135.             "employees": [
  136.               29600,
  137.               "stocks/nvda/employees"
  138.             ],
  139.             "ceo": "Jen-Hsun  Huang"
  140.           },
  141.           "logo": true,
  142.           "description": "<p>NVIDIA Corporation provides graphics, and compute and networking solutions in the United States</p>",
  143.           "contact": {
  144.             "address": "2788 San Tomas Expressway<br>Santa Clara, California 95051<br>United States",
  145.             "phone": "408-486-2000",
  146.             "website": "https://www.nvidia.com",
  147.             "domain": "nvidia.com"
  148.           },
  149.           "details": {
  150.             "symbol": "NVDA",
  151.             "exchange": "NASDAQ",
  152.             "fiscalYear": "February - January",
  153.             "currency": "USD"
  154.           }
  155.         }
  156.       ]
  157.     }
  158.   ]
  159. }
  160.  
  161.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement