Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for techniques (0.21 sec)

  1. cmd/postpolicyform.go

    // are merged together into a single JSON key, also
    // 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()
    	sset := set.NewStringSet()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
Back to top