Sending 16 bit int to IMP via UART

Hello I am currently storing many variables I wish to send via a JSON over to an android app. The imp will be receiving the 16 bit integers from UART and creating a json format to send over. Are there any limitations to this and how can I do this properly since the imp only has an 8 bit uart?

UARTs are generally only 8 bit - they’re all byte oriented.

You’d just combine the two bytes, one LSB and one MSB:

local result = (low | (high << 8));

Thanks Hugo.