Re: [OpenSIPS-Devel] [opensips] $json assign operators (= and :=) (#583)
Closed #583. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/583#event-394939426___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Re: [OpenSIPS-Devel] [opensips] $json assign operators (= and :=) (#583)
@liviuchircu , the '=' operator is used to write a field into the json object, while the ':=' operator is used to instantiate the whole json object from a string representation. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/583#issuecomment-129481693___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [opensips] $json assign operators (= and :=) (#583)
Is there a use case for the simple assign operator **=** when using $json variables? (does it make sense to use it at all?) As I see things, forcing the script writer to use **:=** is a bit unnecessary, and the default $json assign **=** operator should parse the input by default. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/583___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel