protected Map < String , Object > toObjectJSON ( ) { final Map < String , Object > objectJSON = new LinkedHashMap < String , Object > ( ) ; // TODO: select correct object type - usage of own types allowed? objectJSON . put ( "objectType" , "article" ) ; objectJSON . put ( "type" , this . type ) ; objectJSON . put ( "id" , this . id ) ; return objectJSON ; }
parse the status update to an Object JSON map