Load data via JSON and display it in your posts and pages - even to spiders or visitors with JavaScript disabled
This shortcode lets you pull data into your pages via JSON. Supports unlimited levels of nesting! Built-in caching of results keeps your data providers happy, but can be tailored to your needs with a configurable lifetime.
You can use it one of two ways (but not necessarily on the same page - see this article!)
[json src="http://example.com/my_data_src?format=json" key="Data.mykey"]
--> outputs contents of mykey in the Data object
[json src="http://example.com/my_data_src?format=json"]I want my value to appear right here {Data.mysubdata.otherKey} in the middle of my content.[/json]
--> replaces the text in {} with contents of otherKey in the mysubdata object in the Data object
Requires: 3.0 or higher
Compatible up to: 3.3.2
Last Updated: 2012-2-3
Downloads: 109
Got something to say? Need help?