-
Notifications
You must be signed in to change notification settings - Fork 0
Pick a JSON templating engine #28
Comments
additional options from: google/jsonnet#711 Evaluations:
|
Big difference between Jsonnet and Starlark is the latter really only has functions whereas in Jsonnet you can define data structures in terms of other datastructures (it's more data-oriented). If you use Jsonnet, use the go-jsonnet port as it's much faster and where we want to continue development. As for std.extVar you can also write your configs in the form of a function that accepts parameters, but then you have to thread them through into other files. If you do use std.extVar you can do local x = std.extVar("x"); at the top of your file in order to keep it concise. |
Thanks for the feedback! In #29 I'm proposing that we use jsonnet... for the moment, the python port, but if this work continues we'll keep Go in mind. I may switch to the |
Options:
tojson
The text was updated successfully, but these errors were encountered: