Modifier: is_json

Returns true if string is valid json

data: '{"book": "All The Places You'll Go"}'
{{ if data | is_json }}
true
Betterify this page on Github!