public String getAttributesAsJsonString ( ) { if ( attributes == null ) { return "null" ; } Lock lock = lockForRead ( ) ; try { return SerializationUtils . toJsonString ( attributes ) ; } finally { lock . unlock ( ) ; } }
Get all BO s attributes as a JSON - string .