Code Monkey home page Code Monkey logo

jsonviewer's People

Contributors

ccimage avatar dependabot[bot] avatar giddingsra0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

jsonviewer's Issues

时间戳转换问题

插件转换出来的结果如下

Jietu20190620-095145

但是我用网站的工具转换如下

Jietu20190620-095218

我是要设置一下时区还是什么吗?怎么解决呢?

比如这个时间戳 1561611015927

Support for yaml

Hey is it possible to add support for yaml files too? I could try and add it if thats fine.

JsonViewer not rendering json

Hey as per your request via the store here us my JSON and a review of how it renders in JsonViewer in VS Code:

image

{
  "assessment": {
    "application_number": "1234-abcd",
    "assessment_type": "B",
    "primary_party": "Smith B Group",
    "B_assessment": {
      "assessment_summary": {
        "Rental_income": {
          "gross": 40000,
          "net": 40000
        },
        "boarder_income": {
          "gross": 0,
          "net": 0
        },
        "family_income": {
          "gross": 0,
          "net": 0
        },
        "total_personal_group_income": 360000,
        "total_personal_group_commitments": 10000,
        "net_service_ration": "90%"
      },
      "commitments": [
        {
          "commitment": "home Loans",
          "type": "Internal",
          "balance": 500000,
          "limit": 550000,
          "monthly": 4755.64,
          "annual": 57067.64
        }
      ],
      "expenses": [
        {
          "expense": "Household status",
          "type": "Benchmarkabke",
          "limit": 2,
          "monthly": 0,
          "annual": 0
        }
      ],
      "parties": [
        {
          "name": "Mike Smith",
          "declared_gross": 200000,
          "distributed_from_business": 20000,
          "tax_deductions": 10000,
          "verified_gross": 200000,
          "student_loan": true,
          "net_income": 210000,
          "super_annuation": "2%"
        }
      ]
    }
  }
}

My VS Code uses this theme: https://marketplace.visualstudio.com/items?itemName=viktorqvarfordt.vscode-pitch-black-theme

Adopt VS Code's 'asWebviewUri' API

Hi, I maintain VS Code's Webview API

Issue

Our telemetry suggests that your extension uses webviews and may be loading resources in these webviews using hardcoded vscode-resource: URIs. These URIs have some important limitations and don't work properly when VS Code is run in a browser. We are also making changes in the desktop version of VS Code that may cause these URIs to not work properly in future versions of VS Code.

While we are making our best effort to continue support existing webview extensions that use vscode-resource: URIs on desktop versions of VS Code, we will not able to fully support all uses cases.

Fix

To ensure that your extension continues to work in as many environments as possible—including on web and remotely—please:

These APIs shipped around 2 years ago so they should be available in all modern versions of VS Code. You can find additional information about the issue here: microsoft/vscode#97962

Let me know if you have any questions about this change

uint64 numbers are displayed incorrectly

Hello,
I've found that uint64_t numbers are shown incorrectly in VS Code (JSON Viewer v1.3.2).

For example the value of field "ItemsPersistentIdentifiers": [ 3183234085794734210] was shown as 3183234085794734000.
The value of field "system_time": 1692197812390106667, in the JSON viewer was shown as 1692197812390106600

Part of json file:
{
"metadata": {
"iap2": {
"id": 19463,
"name": "PlayMediaLibraryItems"
},
"identity": "iAP2.Message.PlayMediaLibraryItems",
"source": "accessory",
"status": null,
"system_time": 1692197812390106667,
"system_time_formatted": "17:56:52.390",
"timestamp": 110867725867,
"timestamp_formatted": "1:50.867",
"title": "PlayMediaLibraryItems",
"transport": "usb"
},
"Parameters": {
"ItemsPersistentIdentifiers": [
3183234085794734210
],
"ItemsStartingIndex": 0,
"MediaLibraryUniqueIdentifier": "48511AF4-1979-4EAD-80CE-DDFWSDF-MPB-16.6"
},
"Summary": {
"ID": "0x4C07",
"Length": 76,
"Name": "PlayMediaLibraryItems"
}
},

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.