Simple local search function. Javascript and JSON? : <p>Building a 'fake' web browser and web pages that are all compiled locally in a windows form application. The whole thing operates offline.</p>

<p>I need to build a search function on one of the web pages I've made. Obviously theirs no server involved, so I have to have the data extracted and displayed from a local source. I've used 'Jput' before in a <a href="http://fooda.website/" rel="nofollow noreferrer">previous project</a> so i was thinking about having a Json file that can be called. The site is a fake social network, so when a user searches a name or phrase, it displays related results (profiles) either on a separate page or within the current doc. Jput is good, but its pretty limited when it comes to styling.</p>

<p><strong>QUESTION</strong></p>

<p>What would be the best way of doing this? How would I index all these results and how would the search engine work?</p>

<p>Let me know if more detail is needed for this question</p>

<p>Thanks!</p>
