Clear nodes effect and default node expression!
This small release adds two main syntaxes:
-
Clear nodes effect, you can now delete every content of your file through a simple effect.
-
Default values of nodes, which is for advanced users:
This new expression (get [the] [value] %string% (of|from|in) [the] [file] %string% or [(1¦set)] [default] [to] %objects%
) will allow you to manage nodes value even easier:
Example code:
clear nodes of "config"
set {_v::*} to get "test" of "config" or default "hello" and "dsqqsd"
send "%{_v::*}%" to console
set {_v::*} to get "test2" of "config" or set default "hello" and "dsqqsd"
send "%{_v::*}%" to console
YAML result:
test2:
- hello
- dsqqsd