JSON field formatter
Component type
Categories
Maintenance status
Development status
Downloads
Component created
Component changed
Formats a text field as encoded JSON. This can be useful in combination with Views Datasource.
Currently it supports:
- text
- text_long
- text_with_summary
What is does:
It formats your field as encoded JSON.
How it works:
It passes the raw value of a field (say a body field with a lot of html markup) through the function "drupal_json_encode".
When to use:
If you want to escape your html fields for using in Views Datasource / Views JSON. That module doesn't handle 'raw' formats very well.
