New answers tagged json
0
votes
Deserialize JSON in apex. JSON has object array
You can use the JSON2Apex tool to generate the Apex class from the JSON string.
For example, you can use the following code to create an Apex class called Bundle:
public class Bundle {
public ...
0
votes
Hot to get serialized data with PageReference.getContent() inside a Managed Package provided by Visualforce outside of the MP?
We were doing something similar and turns out to fix it your Visualforce reference needs to have the "default" namespace ("c"). So this:
PageReference pageRef = new PageReference('/...
1
vote
How do you use Salesforce Data Cloud data for personalization in SFMC?
I'm no SDC expert but I have the same problem with a client.
Currently I've created a combination of ssjs and ampscript to parse the json string and loop through it to set the variables as ampscript ...
Top 50 recent answers are included
Related Tags
json × 1452apex × 859
deserialize × 175
rest-api × 139
visualforce × 88
marketing-cloud × 87
javascript × 84
rest × 83
lightning-web-components × 80
api × 64
callout × 63
apexrest × 56
parser × 52
map × 45
lightning-aura-components × 43
integration × 43
webservices × 42
wrapper-class × 41
string × 40
serialization × 38
unit-test × 35
ampscript × 35
list × 35
parsing × 33
ssjs × 32