Filtering on JSON array

From SMTX Wiki
Revision as of 16:27, 2 October 2020 by Smtxwiki (talk | contribs) (Created page with "In case there is an array of JSON elements this is an example how to search in the JSON array: <nowiki> mandantList.filter(function (m) { return m.Mandant === 'BG-Bau'; });...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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'; });