Fn.JSON
#14
Replies: 1 comment
-
Is it possible to create a reference of the object or array in the parameter, then Fn.If "Condition" (Ref "theobject") (Ref "thearray") |
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
-
It would be nice to encode arbitrary JSON inside
Fn.If
. We have YAML like these:Currently there's no way to encode this with
Fn.If
becauseFn.Type
does not support objects or arrays. Not sure whether just adding aFn.JSON
is a good idea, but if it is then it could replaceFn.String
.Beta Was this translation helpful? Give feedback.
All reactions