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
internal/core/convert: do not roundtrip MarshalText to JSON
It produces text (a string) as a []byte, so there is no need
to encode that string as JSON only to decode it again.
We can directly treat the result like we do other strings.
Signed-off-by: Daniel Martí <[email protected]>
Change-Id: Iab1106a0c89fce495fd2817124cd10f577246d42
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1201804
TryBot-Result: CUEcueckoo <[email protected]>
Unity-Result: CUE porcuepine <[email protected]>
Reviewed-by: Roger Peppe <[email protected]>
0 commit comments