miconda left a comment (kamailio/kamailio#4510)

The alternate separator might not be a "standard" way for the json-path, 
indeed, but it has its benefits and it is done in other well-known operations, 
like sed/perl substitutions:

```
sed 's/[email protected]/[email protected]/g'
sed 's@/usr/local/sbin@/usr/sbin@g'
```

The benefit being that if you know that a certain character is not in the 
expression fields, use it as separator, saving time to check in the code and 
escape (which requires allocation of extra space and copy of data).

Otherwise, I haven't used the json module, I just tried to look at its c code 
and try to offer a quick workaround.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4510#issuecomment-3643282602
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/4510/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to