google / google/go-jsonnet

API to return json as interface{}

Open
#236 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
1.8k
Forks
263
PR merge metrics
No merged PRs in 30d

Description

Currently we're always serializing (marshalling) output json into a string string in functions like `EvaluateSnippet`. This forces some users to Unmarshal the string again to json. This doesn't seem very elegant. We should also allow returning the json in the standard go representation, especially since we're producing it internally anyway.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.