Strange result in setCustomRoomData API

0 votes

local customRoomData = {"test1", "test2", "test3", "test4"} 

appWarpClient.setCustomRoomData(ROOM_ID , customRoomData )  


is giving result table in appWarpClient.getLiveRoomInfo( ROOM_ID ) as: 




I would like to know what are these "\" for ? are they intentional ? What purpose do they serve ? 

asked Jul 30, 2014 in AppWarp by Vibhu Bhola (10 points)

1 Answer

0 votes

Hi Vibhu,

This is because of the json library that we use internally. It escapes the "" characters. 

Can you try instead of

local customRoomData = {"test1", "test2", "test3", "test4"} 


local customRoomData = "{test1, test2, test3, test4}"

You can then of course use some split string utility.

answered Jul 30, 2014 by dhruvc (1,099 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on