- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for sanitizePolicy (0.28 sec)
-
cmd/postpolicyform.go
// to remove any extraneous JSON bodies. // // Go stdlib doesn't support parsing JSON with duplicate // keys, so we need to use this technique to merge the // keys. func sanitizePolicy(r io.Reader) (io.Reader, error) { var buf bytes.Buffer e := json.NewEncoder(&buf) d := jstream.NewDecoder(r, 0).ObjectAsKVS().MaxDepth(10) sset := set.NewStringSet() for mv := range d.Stream() {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Oct 23 15:10:12 UTC 2025 - 12.1K bytes - Viewed (0)