Solution Review: Process JSON Data
Understand how to process JSON data in Go by unmarshaling, iterating through items to find the most expensive, and marshaling the result back into JSON format.
We'll cover the following...
We'll cover the following...
Solution overview
To complete the challenge, we need to first understand the format and structure of the JSON data and unmarshal it. Once the JSON data is in a workable format, we iterate through the items to find the most expensive one.
The getMostExpensive function receives a string as ...