Combining json #3258
Unanswered
prashasti-k
asked this question in
Q&A
Combining json
#3258
Replies: 1 comment
-
|
You can write a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There is a union of arrays but how can I combine objects or add a key-value to an object using expressions?
I want something like
math.evaluate('merge(obj, { newKey: newValue }))', { obj: {a:1}, newValue: 3 })So that this replicates the spread operator as well like
{ ...obj, newKey: newValue}Beta Was this translation helpful? Give feedback.
All reactions