The JsonMap extension provides the capabilities of running javascript commands like: map, filter, find, reduce and more in your open Json files, making it easier and quicker to extract insights of temporary files without needing to install additional software or creating temporary code.
Features
Get only the names of a JSON Array using .map function
Get only the records of a JSON Array with age greater than 30 using .filter function
Find the record with an specific name on a JSON Array using .find function
Get the sum of all ages in a JSON Array using .reduce function
How to use it
Install the extension
Open your JSON file in your VSCode editor
Open the command window (ctrl+shift+p on widows) and search for the command JsonMap: Open Command Parser
Enter your parse command. (e.g.: data.map(x => x.name))