DEV Community

Discussion on: How To Create A Global "JSON Search Algorithm" In JavaScript.

Collapse
 
ianwijma profile image
Ian Wijma

You do object.values on the json items. Then do stringify on the item values. Than call includes on that string.

Not sure about performance though.