v. Weather_main.java 1. This is just the "main" object portion of the json that holds the below fields. 2. Package: com.
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
v. Weather_main.java 1. This is just the "main" object portion of the json that holds the below fields. 2. Package: com.
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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!