XML to JSON and JSON to XML converter online. Json Parser Online. JSONLint - The JSON Validator. Collapsible JSON Formatter - view your json code in colors. Php - json_decode help. JavaScript Filtering with JSON and Filter Management. Download source - 18.55 KB Introduction This article will explain a simple client-side filtering framework that can be implemented in any page to obtain easy-to-use filters. Background I was looking for some controls that could help me create my application. The control which suited me the most was jqGrid - a jQuery plugin. jqGrid displays a JSON data source in tabular format, along with filtering and sorting. Using the Code Unfortunately, the filtering capability of the jqGrid is not as complex as I need. It's basically a set of rules grouped together using a logical operator: "OR" or "AND".
(name == "John" AND age > 30) OR (name == "Doe" AND age < 30) OR name == "Joe" Note first that between groups and also between groups and rules, we must have the same logical operator, otherwise we will have to isolate them in a subgroup. As I said, we have two types of operators: group operators and rule operators. Note that all entity fields have are prefixed with "item. ". Conclusion Link.