The provisions of the resolutions or ordinances of the countyandall proceedings under them are to be construed with a view to effect their objects and to promote justice.