mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-18 14:31:15 -06:00
00ec6348a4
There's a cheaper method to check if a byte slices is valid JSON: json.Valid. Also replaces spaces() by strings.Repeat(). Signed-off-by: Stephan Renatus <stephan@styra.com>