You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To embbed jsonnet in an application as a config language, you often want it to produce a traversable structure. Right now you can evaluate and then reinterpret the char* with a different json parser which is painful:
Yeah I was thinking that jsonnet_execute_snippet and friends should return a JsonnetJsonValue instead of a string so you don't have to parse it back again. Although that does go against the direction we've previously talked about with custom manifesters that always return string (for -S, --yaml-stream, and similar applications). In that case you always manifest in Jsonnet so the client should receive a string, not the intermediate JSON.
To embbed jsonnet in an application as a config language, you often want it to produce a traversable structure. Right now you can evaluate and then reinterpret the char* with a different json parser which is painful:
https://github.com/mikedanese/overlay/blob/master/main.c#L195-L206
The text was updated successfully, but these errors were encountered: