roundtrip example

$sf = new SerializerFactory();
$queryResultJSON = json_encode( $sf->getSerializerFor( $queryResult
)->serialize( $queryResult ) );

$decodedQueryResult = json_decode( $queryResultJSON );
$queryResultFromJSON = $sf->getDeserializerFor( $decodedQueryResult
)->deserialize( $decodedQueryResult );

Am 03.08.2017 um 15:05 schrieb planetenxin:
> found
> 
> https://doc.semantic-mediawiki.org/classSMW_1_1Serializers_1_1QueryResultSerializer.html
> 
> Let's see if this can be used...


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to