String function ( BasicMessage arg0 ) { return String . format ( "srini_string" , arg0 . getClass ( ) . getSimpleName ( ) , arg0 . toJSON ( ) ) ; }
returns a string that encodes the given object as a json message but then prefixes that json with additional information that a hawkular client will need to be able to deserialize the json . this string can be used to deserialize the object via #deserialize string . concode_field_sep String API_PKG concode_field_sep String[] fromHawkularFormat concode_elem_sep BasicMessageWithExtraData<T> deserialize concode_elem_sep BasicMessageWithExtraData<T> deserialize