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.
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
ctrl+shift+p
on widows) and search for the command JsonMap: Open Command Parser
data.map(x => x.name)
)0.1.1
0.1.0