Exercise 2: Telling a UNIX System What to Do

Let’s test our understanding by attempting this challenge.

We'll cover the following

Let’s practice what we’ve learned so far in the following exercises. Solutions to these exercises will be provided in the next lesson.

Problem

The following code supports the processing of multiple JSON records as streams instead of processing them one by one. However, the data is being generated in a for loop currently. Modify the JSONstreams.go file in the code widget so that it accepts user data or data from a file. 

Get hands-on with 1400+ tech skills courses.