While this salad can be served as soon as all the ingredients have been tossed together, it will taste even better if allowed to rest for half an hour or so to give the flavors a chance to blend.
Drain the beans, corn and pineapple tidbits well. Transfer to a mixing bowl.
Add the chopped onion, tomatoes, avocado and chili. Toss.
Drizzle in the lemon or lime juice. Sprinkle in some salt and pepper. Toss again. Taste. Add more lemon or lime juice, salt or pepper, or all of them, as needed.
Cover the bowl with cling wrap and chill the in the fridge for 15 to 30 minutes to allow the flavors to infuse.
Take the salad out of the fridge, taste again and add more lemon or juice, salt or pepper, or all of them.
Add the sliced scallions and chopped parsley. Toss a few more times. Serve the black-eyed beans and corn salad slightly chilled.