Exemple #1
0
 private static T Deserialize <T>(string json)
 {
     return(SlackJsonSerializer.Deserialize <T>(json));
 }
Exemple #2
0
 protected ICommandResult Response(SlashCommandResponse response)
 {
     return(StringResult(SlackJsonSerializer.Serialize(response)));
 }
Exemple #3
0
 private static string Serialize(object data)
 {
     return(SlackJsonSerializer.Serialize(data));
 }