v. Weather_main.java 1. This is just the "main" object portion of the json that holds the below fields. 2. Package: com.
Posted: Sun May 15, 2022 12:19 pm
v. Weather_main.java 1. This is just the "main" object portion of the json that holds the below fields. 2. Package: com.grossmont.ws 3. Create five public instance variables: a. All are float type -- temp, pressure, humidity, temp_min, temp_max i. You'll notice that in the above json sample, there is a mapping of main and inside main are these five variable names. vi. Weather.java 1. This is the root object that holds the top most fields in the returned json. 2. Package: com.grossmont.ws 3. Create two public instance variables: a. main - this is Weather_main type that you built above. b. name - this is String type.