If you are stuck with strings - aka text, then you could go old school and uuencode a struct, send it over your comms link as text and then uudecode it back into a struct again. No need for any parsing.
If you are stuck with strings - aka text, then you could go old school and uuencode a struct, send it over your comms link as text and then uudecode it back into a struct again. No need for any parsing.