Skip to content

ang3lkar/json-reduce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON Reduce

Tests Version License

A simple VS Code extension that aims to ease readability for developers when dealing with large JSON files. It reduces the JSON to a minimal size so they can focus on the schema and avoid infinite scrolling when having extremely large number of array objects or huge texts.

Example

Text is reduced to a configurable number of characters. Array items are reduced to a configurable number of items.

{
  "someText": "Lorem Ipsum dolor sit amet consectetur adipisicing elit. Quisquam, quos...",
  "someArray": [
    {
      "someObject": {
        "someText": "Lorem Ipsum dolor sit amet"
      },
      "someObject2": {
        "someText": "Lorem Ipsum dolor sit amet"
      }
    },
    "<135 more items>"
  ]
}

Configuration

{
  "jsonReduce.textLength": 100,
  "jsonReduce.arrayLength": 10
}

Contributing

  1. Fork the repository
  2. Create a new branch
  3. Make your changes
  4. Run the tests
  5. Submit a pull request

License

MIT © Ang3lkar

About

Reduce large JSON to help readability

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published