whosgonna left a comment (kamailio/kamailio#4510)

I appreciate it.  My goal was to clean up some code that was using a 
combination of jansson and json.  Using the translation results in cleaner 
code, because this is very clearly assigning to `$vn(tt_label)` in a single line

```
$vn(tt_label) = $(vn(json){json.parse,tags[0].property.subelement });
```

Where as multiple calls through `json_get_field()` puts the destination 
variable in the function call and is less obvious.

This isn't a huge deal of course, but it's the initial reason I went down this 
path.  Allowing setting the separator isn't super complex, but its slightly 
cryptic - just enough so that I would prefer to use `json_get_field()`.  

I know: I'm just being picky.  With that in mind, I do greatly appreciate your 
work here. Thank you.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4510#issuecomment-3647046232
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