Comparing version 1.0.8 to 1.0.9
@@ -175,7 +175,10 @@ ## JSONata Function Library | ||
Returns an array containing the keys in the object | ||
Returns an array containing the keys in the object. If the argument is an array of objects, | ||
then the array returned contains a de-duplicated list of all the keys in all of the objects. | ||
#### `$lookup(object, key)` | ||
Returns the value assosciated with `key` in `object` | ||
Returns the value associated with `key` in `object`. If the first argument is an array of objects, | ||
then all of the objects in the array are searched, and the values associated with all occurrences | ||
of `key` are returned. | ||
@@ -186,2 +189,8 @@ #### `$merge(object, object)` - to be implemented | ||
has the same key as an entry in the first, then the value will be overridden by the second. | ||
#### `$spread(object)` | ||
Splits an `object` containing key/value pairs into an array of objects, each of which has a single | ||
key/value pair from the input `object`. If the parameter is an array of objects, then the resultant | ||
array contains an object for every key/value pair in every object in the supplied array. | ||
@@ -188,0 +197,0 @@ ### Higher-order functions |
{ | ||
"name": "jsonata", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "JSON query and transformation language", | ||
@@ -5,0 +5,0 @@ "main": "jsonata.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
431454
9459