JSON Parser in Salesforce Flow

{“id”: “0001”,”total”:200, “repeat”:true,”ppu”: 0.55,”batters”:{“batter”:[{ “id”: “1001”, “type”: “Regular” },{ “id”: “1002”, “type”: “Chocolate” },{ “id”: “1003”, “type”: “Blueberry” },{ “id”: “1004”, “type”: “Devils Food” }]},”topping”:[{ “id”: “5001”, “type”: null},{ “id”: “5002”, “type”: “Glazed” },{ “id”: “5005”, “type”: “Sugar” },{ “id”: “5007”, “type”: “Powdered Sugar” },{ “id”: “5006”, “type”: “Chocolate with Sprinkles” },{ “id”: “5003”, “type”: “Chocolate” },{ “id”: “5004”, “type”: “Maple” }]}
  1. Ignore Error? (Boolean) : set to False if you want the flow to break if there’s an error while you do parsing. Set to True if you want the flow to continue if there’s an error while you do parsing and output value will be “[Error Catched]:<The error exception>”
  2. JSON String to Parse: the JSON text you want to parse, in this case variable Test_JSON that I created earlier

--

--

--

A dots connector. open for part time, Email: munawirrahman@gmail.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Your DevOps Strategy Is Not Creating Business Value — Here’s Why

Design Patterns in Python — Factory

Why do we keep destroying our production infrastructure?

UNL’s culture for its DevOps team

Static Library In C

How to auto deploy WordPress in WP Engine using GitLab CI

Learning Chatbot from Scratch: Rasa Open Source 3.x Installation and Set up on macOS

How to build a simple bot using python

How to Make Basic Search Engine for Django Project -Haystack+ElasticSearch-

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Munawirrahman

Munawirrahman

A dots connector. open for part time, Email: munawirrahman@gmail.com

More from Medium

Rest API Implementation Series on the LEAD

Blockers with “Formulas and Validations” Module

Salesforce and Quickbooks Online Integration Using DBSync

Salesforce as a Validated Machine in Life Sciences