Sending a message in form of a class?

Related to Unity crashes when I tried the TinyJson from Nakama - #2 by aliakbarm534