// Setting the second parameter, omitempty, to true causes empty values to be ignored.
// Setting the third parameter, rawValues, to false causes each value to be wrapped in double quotes
// to make it a valid string.
Setting the second parameter, omitempty, to true causes empty values to be ignored.
Setting the third parameter, rawValues, to false causes each value to be wrapped in double quotes
to make it a valid string.
// Setting the second parameter omitempty to true causes empty values to be ignored . // Setting the third parameter rawValues to false causes each value to be wrapped in double quotes // to make it a valid string .
func (b *ObjectBuilder) AddPairs(pairs map[string]string, omitEmpty bool, rawValues bool) (int, error) {
	n := 0
	if m, err := b.writePrefix(); err != nil {
		return m, err
	} else {
		n += m
	}
	m, err := b.concatenateKeyValuePairs(pairs, omitEmpty, rawValues)
	return n + m, err
}
func ( b * ObjectBuilder ) AddPairs ( pairs map [ string ] string , omitEmpty bool , rawValues bool ) ( int , error ) { n := 0 if m , err := b . writePrefix ( ) ; err != nil { return m , err } else { n += m } m , err := b . concatenateKeyValuePairs ( pairs , omitEmpty , rawValues ) return n + m , err }
Setting the second parameter, omitempty, to true causes empty values to be ignored.
Setting the second parameter omitempty to true causes empty values to be ignored .