This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cue: reimplement Decode to not use MarshalJSON
The roundtrip to JSON resulted in a few incompatibilities Note that this copies the logic in encoding/json for parsing json tags and disambiguating names. Code that previously did a JSON marshal and relied on that detecting errors before modifying Go values must now explicitly check for concreteness first. Fixes #922 Change-Id: I9a55151163183ab84d1269d51f180127869a9a15 Reviewed-on: https://cue-review.googlesource.com/c/cue/+/9522 Reviewed-by: Marcel van Lohuizen <mpvl@golang.org> Reviewed-by: CUE cueckoo <cueckoo@gmail.com> Reviewed-by: Paul Jolly <paul@myitcv.org.uk>
- Loading branch information