UDP packages

So I’m trying to write a card game, I’m using udp, but I don’t really know how the packages should look like. I started with sending Strings with some prefixes like: “/c/” + client.getId() + “/e/” or "/d/ + client.getId() + “/e/”. Is it a good way to do this or is there a better way?

Help would be really appreciated. ;D