Can you be more specific on what you mean by filtering? You can add conditionals to your JSON to ensure that content is only added if the condition is met. For more information see here:
If data json is as follows
{
“legal_heading”:“End-User Agreement”,
“legal_clauses”: [
{“legal_clause”:“Sed ut unde omnis iste natus error sit volup tatem…”},
{“legal_clause”:“Lorem ipsum dolor sit amet, consec tetuer adipi s…”},
{“legal_clause”:“pretium quis, sem. Nulla conse quat massa quis eni…”},
{“legal_clause”:“idunt. Cras dapibus. Vivamus elem entum semper nis…”}
]
}
How do I set a condition to loop through legal_clauses and show just the text that has the word “error” it in?