You are here

function _oembedprovider_formats_json in oEmbed 6.0

JSON formatter

1 call to _oembedprovider_formats_json()
_oembedprovider_formats_jsonp in ./oembedprovider.inc
JSONP formatter
1 string reference to '_oembedprovider_formats_json'
oembedprovider_formats in ./oembedprovider.module
Returns all the registered response formats

File

./oembedprovider.inc, line 137
Functions for the oEmbed provider

Code

function _oembedprovider_formats_json($data) {
  return json_encode($data);
}