6.2 JSON Parse

2 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$49.99
List Price:  $69.99
You save:  $20
€42.65
List Price:  €59.72
You save:  €17.06
£36.96
List Price:  £51.75
You save:  £14.78
CA$68.68
List Price:  CA$96.16
You save:  CA$27.47
A$76.24
List Price:  A$106.74
You save:  A$30.50
S$64.15
List Price:  S$89.82
You save:  S$25.66
HK$389.76
List Price:  HK$545.70
You save:  HK$155.93
CHF 39.96
List Price:  CHF 55.94
You save:  CHF 15.98
NOK kr500.71
List Price:  NOK kr701.04
You save:  NOK kr200.32
DKK kr318.41
List Price:  DKK kr445.79
You save:  DKK kr127.38
NZ$84.63
List Price:  NZ$118.48
You save:  NZ$33.85
د.إ183.58
List Price:  د.إ257.03
You save:  د.إ73.45
৳6,064.19
List Price:  ৳8,490.36
You save:  ৳2,426.16
₹4,410.03
List Price:  ₹6,174.40
You save:  ₹1,764.36
RM211.20
List Price:  RM295.70
You save:  RM84.50
₦76,552.18
List Price:  ₦107,179.18
You save:  ₦30,627
₨14,147.62
List Price:  ₨19,807.80
You save:  ₨5,660.18
฿1,614.75
List Price:  ฿2,260.78
You save:  ฿646.03
₺2,055.19
List Price:  ₺2,877.44
You save:  ₺822.24
B$272.34
List Price:  B$381.30
You save:  B$108.96
R878.87
List Price:  R1,230.49
You save:  R351.62
Лв83.35
List Price:  Лв116.70
You save:  Лв33.35
₩69,650.61
List Price:  ₩97,516.43
You save:  ₩27,865.81
₪167.46
List Price:  ₪234.46
You save:  ₪66.99
₱2,859.07
List Price:  ₱4,002.93
You save:  ₱1,143.85
¥7,355.05
List Price:  ¥10,297.66
You save:  ¥2,942.61
MX$930.26
List Price:  MX$1,302.44
You save:  MX$372.18
QR181.75
List Price:  QR254.47
You save:  QR72.71
P671.37
List Price:  P939.97
You save:  P268.60
KSh6,458.70
List Price:  KSh9,042.70
You save:  KSh2,584
E£2,428.95
List Price:  E£3,400.73
You save:  E£971.77
ብር7,102.98
List Price:  ብር9,944.74
You save:  ብር2,841.76
Kz45,588.63
List Price:  Kz63,827.73
You save:  Kz18,239.10
CLP$48,533.98
List Price:  CLP$67,951.45
You save:  CLP$19,417.47
CN¥356.46
List Price:  CN¥499.08
You save:  CN¥142.61
RD$3,144.19
List Price:  RD$4,402.12
You save:  RD$1,257.92
DA6,485.41
List Price:  DA9,080.10
You save:  DA2,594.68
FJ$112.54
List Price:  FJ$157.56
You save:  FJ$45.02
Q382.24
List Price:  Q535.16
You save:  Q152.92
GY$10,428.74
List Price:  GY$14,601.08
You save:  GY$4,172.33
ISK kr6,116.77
List Price:  ISK kr8,563.97
You save:  ISK kr2,447.20
DH449.55
List Price:  DH629.41
You save:  DH179.85
L831.30
List Price:  L1,163.88
You save:  L332.58
ден2,626.53
List Price:  ден3,677.36
You save:  ден1,050.82
MOP$400.41
List Price:  MOP$560.60
You save:  MOP$160.19
N$885.21
List Price:  N$1,239.36
You save:  N$354.15
C$1,837.33
List Price:  C$2,572.41
You save:  C$735.08
रु7,038.37
List Price:  रु9,854.29
You save:  रु2,815.91
S/176.50
List Price:  S/247.11
You save:  S/70.61
K210.42
List Price:  K294.61
You save:  K84.18
SAR187.59
List Price:  SAR262.64
You save:  SAR75.05
ZK1,176.14
List Price:  ZK1,646.70
You save:  ZK470.55
L216.34
List Price:  L302.89
You save:  L86.55
Kč1,042.36
List Price:  Kč1,459.38
You save:  Kč417.02
Ft16,858.10
List Price:  Ft23,602.69
You save:  Ft6,744.58
SEK kr470.33
List Price:  SEK kr658.51
You save:  SEK kr188.17
ARS$67,335.96
List Price:  ARS$94,275.73
You save:  ARS$26,939.77
Bs344.59
List Price:  Bs482.45
You save:  Bs137.86
COP$200,483.87
List Price:  COP$280,693.47
You save:  COP$80,209.59
₡25,201.39
List Price:  ₡35,283.96
You save:  ₡10,082.57
L1,309.43
List Price:  L1,833.31
You save:  L523.87
₲360,540.19
List Price:  ₲504,785.11
You save:  ₲144,244.92
$U1,999.90
List Price:  $U2,800.03
You save:  $U800.12
zł181.51
List Price:  zł254.13
You save:  zł72.62
Already have an account? Log In

Transcript

The JSON parse tool structures JavaScript Object Notation text into a table made up of its key pair values. So it will essentially take a JSON object, like we have in our first picture pane here and structure it into a table, like our third picture pane. The key pair values are the JSON name and JSON value string records in the third picture pane. Let's start a new workflow. So we can pass a JSON object, we'll go to the Insert tab. And instead of using the input data tool, like we normally use, we'll go for text input this time and drag that into our workflow.

We'll also go to our course files and open up the JSON parse file, copy the contents in there and paste them into our text input. Once we've done that, we'll Go to the developer tab, which is at the far right here and select the JSON pars tool here. If you're unable to see it in your version of ultrix, you can go to the Add remove tools icon here, scroll to the bottom, go to developer, and make sure you've got Jason paths ticked. We'll drag it into our workflow. And in the configuration pane on the left, we have the option to select which column from our input data we want to structure. Because we only have one field in our input data, it's going to be field one.

To the right of it, we have the option to include in output which also includes the field name chunk of text in our output, but we don't want that in this scenario. And finally, we have the option to output values into a single string field, which means it will only The JSON attribute name and value, or we can output it into data type specific fields, which will show us the attribute name value, and whether or not it's an int, float or Boolean. We'll add a browse tool to the end of our workflow with Ctrl Shift B and run it with Ctrl R. And with single field selected, our data has been output into two columns.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.