Field Collection RESTful API rendered in HTML
问题 I'm not sure this is a bug or what. But when I create API view page and add field (which is field collection), it rendered HTML instead of 'neat' JSON. For example it should be look like : field_collection_name: [ { "title": "Big Title" "field_a": "content" }, { "title": "Big Title 2" "field_a": "content 2" }, { "title": "Big Title 3" "field_a": "content 3" } ] Instead, the JSON in api view render like this: field_collection_name: <div class="field--name-title">Big Title</div><div class=