Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cue: marshal a Value as JSON null directly
json.Marshal(nil) always produces ([]byte("null"), nil). Doing so directly is more straightforward to understand and cheaper. Signed-off-by: Daniel Martí <[email protected]> Change-Id: I77452e40374c642400d873a56dda7d7723f8c537 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1201805 Unity-Result: CUE porcuepine <[email protected]> TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Roger Peppe <[email protected]>
- Loading branch information