I was just checking to make sure that there wasn't an easy and obvious solution I was overlooking.
Depending on the depth of the data I can use xavp_implode() or jansson. The structures I'm working with should be predictable enough to do this. I think the "solution to simplify serialization" long term is probably using KEMI, whereby the more robust scripting languages have better functionality for that sort of thing. -----Original Message----- From: Alex Balashov via sr-users <[email protected]> Sent: Friday, September 22, 2023 12:18 PM To: Kamailio (SER) - Users Mailing List <[email protected]> Cc: Alex Balashov <[email protected]> Subject: [SR-Users] Re: Multi-dimensional data in htable CAUTION: This email originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. I have extensively invented this kind of serialisation scheme over the years, and it's just very tedious. Turn-key nonscalar support would be a lot easier. > On Sep 22, 2023, at 12:16 PM, David Villasmil via sr-users > <[email protected]> wrote: > > Why not just use a hash and separate fields by ; ? You can then just join or > split as you set or get? > > On Fri, 22 Sep 2023 at 08:20, Ben Kaufman via sr-users > <[email protected]> wrote: > Thank you. I'll look into that! > Kaufman > __________________________________________________________ > Kamailio - Users Mailing List - Non Commercial Discussions To > unsubscribe send an email to [email protected] > Important: keep the mailing list in the recipients, do not reply only to the > sender! > Edit mailing list options or unsubscribe: > __________________________________________________________ > Kamailio - Users Mailing List - Non Commercial Discussions To > unsubscribe send an email to [email protected] > Important: keep the mailing list in the recipients, do not reply only to the > sender! > Edit mailing list options or unsubscribe: -- Alex Balashov Principal Consultant Evariste Systems LLC Web: https://evaristesys.com/ Tel: +1-706-510-6800 __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
