Esempio n. 1
0
        public static string ToClientJson(this ChatlineObject chat)
        {
            var clientsideChat = new
            {
                chatline  = chat.ChatFragments,
                timestamp = TimeKeeper.GetUnixTime()
            };

            return(LowercaseContractResolver.SerializeObject(clientsideChat));
        }