[OpenSIPS-Devel] json module question
    Richard Revels 
    rrevels at bandwidth.com
       
    Wed Feb  3 05:02:58 EST 2021
    
    
  
Any chance this functionality will make it to the 2.4 branch?  I'm going to
go milling around in the commits to see how much work it would be to get it
into our builds but it would save me time if you all were already planning
to shove it in there as a "bug fix".  : >
*Example 1.3. iteration over $json object keys*
...
$json(foo) := "{\"a\": 1, \"b\": 2, \"c\": 3}";
for ($var(k) in $(json(foo.keys)[*]))
    xlog("$var(k) ");
...
[image: BandwidthMaroon.png]
Richard Revels  •  System Architect II
900 Main Campus Drive, Suite 100, Raleigh, NC 27606
m: 919-578-3421  •  o: 919-727-4614
e: rrevels at bandwidth.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20210203/4af9644d/attachment.html>
    
    
More information about the Devel
mailing list