Nicholas Head
Nicholas Head

Reputation: 3726

Filtering JSON Data on the Browser/Client

Here's the scenario-- you've got a JSON object on the browser, and let's say it has a boolean property, called "Active". We want to create a new JSON object that contains only items that have Active = True. Is there an easy way to do this, other than looping through the entire JSON object?

I'm basically trying to use ASP.Net AJAX Templates to show a list of items that can either be active or inactive, based on a dropdown the user selects.

Upvotes: 5

Views: 1488

Answers (1)

Mauricio Scheffer
Mauricio Scheffer

Reputation: 99730

Check out:

Upvotes: 7

Related Questions