-
Notifications
You must be signed in to change notification settings - Fork 519
ApiServiceRecipesDataModel
pozil edited this page Oct 4, 2023
·
15 revisions
This class contains the 'data transfer object' details. Data transfer objects are used to serialize Apex objects to JSON and web service response JSON to Apex objects.
Group Integration Recipes
These properties represent the JSON keys that we need to send or recieve.
Parses the provided JSON string into a list of ApiServiceRecipesDataModel objects
| Param | Description |
|---|---|
json |
Incoming JSON string. Often from an api call's results. |
| Type | Description |
|---|---|
| List | List<ApiServiceRecipesDataModel> |
System.debug(ApiServiceRecipesDataModel.parse(ApiServiceRecipesDataModel_Tests.testJSON));example of how to model a nested json object