Filtering on JSON array

From SMTX Wiki
Jump to navigation Jump to search

In case there is an array of JSON elements this is an example how to search in the JSON array:

mandantList.filter(function (m) { return m.Mandant === 'BG-Bau'; });