The resonance forms that are the most important in our discussion are those forms where the positive charge is located on the carbon atom that also bears the functional group.  The ionization of the substituted benzoic acid can thus be analyzed by examining the following equilibrium:
{"Image Tag 0x5110": "1", "Image Tag 0x5111": "0", "Image Tag 0x5112": "0"}