static function getRDFJSONSerializer($a = '')
{
return ARC2::getSer('RDFJSON', $a);
}
function toRDFJSON($asObject = false) { $index = $this->toIndex(); $ser = ARC2::getRDFJSONSerializer(array('ns' => $this->ns)); if ($asObject) { return json_decode($ser->getSerializedIndex($index)); } return $ser->getSerializedIndex($index); }