Best practice for data coming into a custom object
We have a campaign launching that will be pushing data into a custom object. In the past (before I was with the company), we had them come in through one field via JSON string and then parsed out in velocity. We can still do that OR push the info into fields within the custom object. Here are examples of the fields we would create and then push them to:
- Tier 5 Join date: {marketplace_tier_change_date}
- Tier 6 Join date: {marketplace_tier_change_date}
- Temporary stop sell start date:{temporary_suspension_start_date}
- Next Evaluation date: {next_evaluation_date}
- Permanent stop sell date: {permanent_suspension_start_date}
I personally think it's easier to push this data into individual fields because it makes it "cleaner" and because it's less work on the velocity side. Just curious if there's a best practice for this? A colleague of mine thinks we should just push to one field and parse it out in velocity but I'm not entirely sure why. Is my approach just lazy?
If I did go the route of a one JSON string, can I get some direction or opinions on how should I parse this out in velocity?