Class EachFunction


  • public class EachFunction
    extends FunctionBase
    From https://docs.jsonata.org/object-functions#each $each(object,function($value, $key) Returns an array containing the values return by the function when applied to each key/value pair in the object. The function parameter will get invoked with two arguments: function(value, name) where the value parameter is the value of each name/value pair in the object and name is its name. The name parameter is optional. Examples $each(Address, function($v, $k) {$k & ": " & $v}) results in [ "Street: Hursley Park", "City: Winchester", "Postcode: SO21 2JN" ]