[OpenSIPS-Devel] [OpenSIPS/opensips] 2649a3: for-each statement: Add support for $json iterator...

Liviu Chircu liviu at opensips.org
Thu Jul 16 12:58:07 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2649a3a5c30cb9c777bb388043d65bb91c8b67df
      https://github.com/OpenSIPS/opensips/commit/2649a3a5c30cb9c777bb388043d65bb91c8b67df
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-07-16 (Thu, 16 Jul 2015)

  Changed paths:
    M action.c
    M cfg.y
    M modules/json/json.c
    M pvar.h

  Log Message:
  -----------
  for-each statement: Add support for $json iterators

Example way of usage:
    for ($json(foo) in $(avp(bar)[*]))
  xlog("JSON fields: $json(foo/baz) $json(foo/qux)\n");




More information about the Devel mailing list