/** * Create a new GoalID based on the given JSON string. Any missing values * will be set to their defaults. * * @param jsonString * The JSON string to parse. * @return A GoalID message based on the given JSON string. */ public static GoalID fromJsonString(String jsonString) { // convert to a message return GoalID.fromMessage(new Message(jsonString)); }
/** * Create a new GoalID based on the given JSON string. Any missing values * will be set to their defaults. * * @param jsonString * The JSON string to parse. * @return A GoalID message based on the given JSON string. */ public static GoalID fromJsonString(String jsonString) { // convert to a message return GoalID.fromMessage(new Message(jsonString)); }