<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 30.07.2019 10:40, Hamid Hashmi
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:SG2PR03MB4278B53E664AD9B1B23326E3E0DC0@SG2PR03MB4278.apcprd03.prod.outlook.com">
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(38, 114, 236);">
<span style="font-family: Calibri, Helvetica, sans-serif;
background-color: rgb(255, 255, 255); display: inline
!important"><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(38, 114, 236);">
<span style="font-family: Calibri, Helvetica, sans-serif;
background-color: rgb(255, 255, 255); display: inline
!important">it gives me a NULL Value. What am I doing wrong?</span></div>
</blockquote>
<p><tt>Sounds like you're using the "=" assignment operator instead
of the ":=" one,<br>
which is the proper way of telling the module to parse a JSON
input string.<br>
<br>
So, for example, you'd do:</tt></p>
<p><tt>$json(response) := $var(rest_client_result);</tt></p>
<p><tt>Cheers,<br>
</tt></p>
<pre class="moz-signature" cols="72">--
Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
</body>
</html>