// MarshalLogArray implements zapcore.ArrayMarshaler, enabling
// fast logging of _List_Map_Set_I32_Map_I32_Set_List_Map_Insanity_String_Zapper.
766084
func (l _List_Map_Set_I32_Map_I32_Set_List_Map_Insanity_String_Zapper) MarshalLogArray(enc zapcore.ArrayEncoder) (err error) {
	for _, v := range l {
		err = multierr.Append(err, enc.AppendArray((_Map_Set_I32_Map_I32_Set_List_Map_Insanity_String_Zapper)(v)))
	}
	return err
}
622029
func (v *NestedMixedx2) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	if v == nil {
		return nil
	}
	if v.IntSetList != nil {
		err = multierr.Append(err, enc.AddArray("int_set_list", (_List_Set_I32_Zapper)(v.IntSetList)))
	}
	if v.MapIntStrset != nil {
		err = multierr.Append(err, enc.AddArray("map_int_strset", (_Map_I32_Set_String_Zapper)(v.MapIntStrset)))
	}
	if v.MapIntStrsetList != nil {
		err = multierr.Append(err, enc.AddArray("map_int_strset_list", (_List_Map_I32_Set_String_Zapper)(v.MapIntStrsetList)))
	}
	return err
}
168936
func (v *Hello_Sink_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	if v == nil {
		return nil
	}
	if v.Snk != nil {
		err = multierr.Append(err, enc.AddObject("snk", v.Snk))
	}
	return err
}
72818
func (v *Function) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	if v == nil {
		return nil
	}
	enc.AddString("name", v.Name)
	enc.AddString("thriftName", v.ThriftName)
	err = multierr.Append(err, enc.AddArray("arguments", (_List_Argument_Zapper)(v.Arguments)))
	if v.ReturnType != nil {
		err = multierr.Append(err, enc.AddObject("returnType", v.ReturnType))
	}
	if v.Exceptions != nil {
		err = multierr.Append(err, enc.AddArray("exceptions", (_List_Argument_Zapper)(v.Exceptions)))
	}
	if v.OneWay != nil {
		enc.AddBool("oneWay", *v.OneWay)
	}
	if v.Annotations != nil {
		err = multierr.Append(err, enc.AddObject("annotations", (_Map_String_String_Zapper)(v.Annotations)))
	}
	return err
}
124338
func (v *StructA) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	if v == nil {
		return nil
	}
	enc.AddString("s", v.S)
	return err
}
771968
func MarshalList(in interface{}) ([]*dynamodb.AttributeValue, error) {
	av, err := NewEncoder().Encode(in)
	if err != nil || av == nil || av.L == nil {
		return []*dynamodb.AttributeValue{}, err
	}

	return av.L, nil
}
1299665
func (v *GuessProtocolStruct) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	if v == nil {
		return nil
	}
	if v.MapField != nil {
		err = multierr.Append(err, enc.AddObject("map_field", (_Map_String_String_Zapper)(v.MapField)))
	}
	return err
}
1249487
func (s _Set_I32_Zapper) MarshalLogArray(enc zapcore.ArrayEncoder) (err error) {
	for v := range s {
		enc.AppendInt32(v)
	}
	return err
}
978333
func (v *Plugin_Handshake_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	if v == nil {
		return nil
	}
	if v.Success != nil {
		err = multierr.Append(err, enc.AddObject("success", v.Success))
	}
	return err
}
667235
func (v *ListTypeVersioningV2) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	if v == nil {
		return nil
	}
	if v.Strings != nil {
		err = multierr.Append(err, enc.AddArray("strings", (_List_String_Zapper)(v.Strings)))
	}
	if v.Hello != nil {
		enc.AddString("hello", *v.Hello)
	}
	return err
}
277277
func (v *NestedListsI32x3) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	if v == nil {
		return nil
	}
	if v.Integerlist != nil {
		err = multierr.Append(err, enc.AddArray("integerlist", (_List_List_List_I32_Zapper)(v.Integerlist)))
	}
	return err
}
836501
func (v *Xception) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	if v == nil {
		return nil
	}
	if v.ErrorCode != nil {
		enc.AddInt32("errorCode", *v.ErrorCode)
	}
	if v.Message != nil {
		enc.AddString("message", *v.Message)
	}
	return err
}
131007
func (arr Array) MarshalJSON() ([]byte, error) {
	if len(arr) == 0 {
		return json.Marshal([]interface{}{})
	}
	return json.Marshal([]*Term(arr))
}
1034198
func (v *Module) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	if v == nil {
		return nil
	}
	enc.AddString("importPath", v.ImportPath)
	enc.AddString("directory", v.Directory)
	enc.AddString("thriftFilePath", v.ThriftFilePath)
	return err
}
46819
func (s _Set_Insanity_Zapper) MarshalLogArray(enc zapcore.ArrayEncoder) (err error) {
	for _, v := range s {
		err = multierr.Append(err, enc.AppendObject(v))
	}
	return err
}
1042232
func (s _Set_String_Zapper) MarshalLogArray(enc zapcore.ArrayEncoder) (err error) {
	for v := range s {
		enc.AppendString(v)
	}
	return err
}
1056773
func (v *NestedListsI32x2) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	if v == nil {
		return nil
	}
	if v.Integerlist != nil {
		err = multierr.Append(err, enc.AddArray("integerlist", (_List_List_I32_Zapper)(v.Integerlist)))
	}
	return err
}