code: public void sendJSON(String topicName, String payload) {
          if (topicName == null || topicName.length() == 0) {
              throw new JavametricsException("Topic names must not be null or 0 length");
          }
          if (payload == null || payload.length() == 0) {
              throw new JavametricsException("Payload must exist");
          }
          getTopic(topicName).sendJSON(payload);
      }
docs: /*
  (non-Javadoc)
  
  @see com.ibm.javametrics.Javametrics#sendJSON(java.lang.String,
  java.lang.String)