Working with LUA
Basic input example
return {
["country"] = "Australia"; -- this place
["cities"] = {
"Sydney",
"Melbourne",
"Brisbane",
"Perth",
};
};
yq -oy '.' sample.luacountry: Australia
cities:
- Sydney
- Melbourne
- Brisbane
- PerthBasic output example
Unquoted keys
Globals
Elaborate example
Last updated