[ejabberd] very general erlang question (connected to jlib:make_jid/3)

Stephan Maihöfer sma at turtle-entertainment.de
Fri Oct 17 17:38:37 MSD 2008


hi,
 
i am stuck, i need to create a jid from data i got from json,
the user part of the jid comes as an int from json but 
jlib:make_jid/3 needs it as a string...i don't know how to
typecast that. i guess it's some to_list operation or
something, but i can't find anything anywhere, so:
 
    int -> string
 
how?!
 
thanks in advance,
stephan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20081017/1da21b49/attachment.htm>


More information about the ejabberd mailing list