func (ss *FridayFilePVSignState) UnmarshalJSON(marshaled []byte) error {
	var tmpState marshalSpecializedState
	if err := json.Unmarshal(marshaled, &tmpState); err != nil {
		return err
	}

	for height, state := range tmpState.HeightSignStateMap {
		ss.HeightSignStateMap.Store(height, state)
	}
	ss.ImmutableHeight = tmpState.ImmutableHeight
	return nil
}
//UnmarshalJSON override purpose is for using builtin json marshaler
UnmarshalJSON override purpose is for using builtin json marshaler
// UnmarshalJSON override purpose is for using builtin json marshaler
func (ss *FridayFilePVSignState) UnmarshalJSON(marshaled []byte) error {
	var tmpState marshalSpecializedState
	if err := json.Unmarshal(marshaled, &tmpState); err != nil {
		return err
	}
	for height, state := range tmpState.HeightSignStateMap {
		ss.HeightSignStateMap.Store(height, state)
	}
	ss.ImmutableHeight = tmpState.ImmutableHeight
	return nil
}
func ( ss * FridayFilePVSignState ) UnmarshalJSON ( marshaled [ ] byte ) error { var tmpState marshalSpecializedState if err := json . Unmarshal ( marshaled , & tmpState ) ; err != nil { return err } for height , state := range tmpState . HeightSignStateMap { ss . HeightSignStateMap . Store ( height , state ) } ss . ImmutableHeight = tmpState . ImmutableHeight return nil }
UnmarshalJSON override purpose is for using builtin json marshaler
UnmarshalJSON override purpose is for using builtin json marshaler