What JSON library are you using? Any decent library will handle it.

On Mon, Dec 15, 2014 at 1:52 PM, practikalmind <practikalmind@gmail.com> wrote:

Hi,

               When I submit the API http://en.wikipedia.org/w/api.php?format=json&action=query&prop=revisions&rvprop=content|ids&pageids=7412236 I get the below with one of the properties as a *. Is it possible to get with a name like say content instead of the *. I am not able to de-serialize the response.

 

revisions

------{}

*={{about|the person|the biography|Steve Jobs (book)|the 2013 biographical film|Jobs (film)}}……..

contentformat=text/x-wiki

contentmodel=wikitext

parentid=638035784

revid=638103683

 

Thanks


_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api