Help:JSON format

From semantic-mediawiki.org
Jump to: navigation, search
JSON format
Outputs semantic data in JSON format
Further Information
Provided by: Semantic MediaWiki
Added: 1.4.2
Removed: still supported
Requirements: none
Format name: json
Enabled by default:info.pngIndicates whether the result format is enabled by default upon installation of the respective extension. yes
Authors: Fabian Howahl, Jeroen De Dauw
Categories: export, plaintext
Table of Contents

The result format json is used to produce links to JSON files.

Parameters

Parameter Type Default Description
searchlabel Text no The text for the link to results

Example

{{#ask: [[Category:City]] [[located in::Germany]] 
| ?population
| format=json
}}

Result: JSON



This documentation page applies to all SMW versions from 1.4.2 to the most current version.
      Other languages: dezh-hans

Help:JSON format en 1.4.2


Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox