/**
  * Creates a message of this type from a JSON throwing a runtime exception if the format of the
  * message does not match
  */
 public static MethodInvokeFailure fromJSON(CharSequence c) {
   return MessageSerializer.readFromJSON(SERIALIZER, c);
 }
 /** Returns a JSON representation of this message */
 public String toJSON() {
   return MessageSerializer.writeToJSON(this, SERIALIZER);
 }