[Libwebsockets] LEJP array of strings

Jean-Paul Saman jpsaman at gmail.com
Mon Mar 1 15:05:13 CET 2021


Hi,

How do I serialize/parse an array of strings with LEJP functions?

Here is a JSON snippit I have trouble with to solve with LEJP:
[
 {
   "groups": [ "item1", "item2", "item3" ]
 }
]

Any pointers/comment/solution are welcome.

-- 
Best regards,

Jean-Paul Saman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20210301/76fce422/attachment.htm>


More information about the Libwebsockets mailing list