Hi,
Solved! Go to Solution.
Views
Replies
Total Likes
It really depends on the JAVA library you are using. Take some time to Google Java docs that correspond to the Java library you are using.
Assuming that you are using the org.json library, you can call on the size method, for example:
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
...
JSONArray array = new JSONArray();
array.add("e-mail: krishna_kasyap@gmail.com");
array.add("phone: 9848022338");
array.add("city: Hyderabad");
array.add("Area: Madapur");
array.add("State: Telangana");
Sytem.out.println(array.size());
I would follow the following steps:
It really depends on the JAVA library you are using. Take some time to Google Java docs that correspond to the Java library you are using.
Assuming that you are using the org.json library, you can call on the size method, for example:
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
...
JSONArray array = new JSONArray();
array.add("e-mail: krishna_kasyap@gmail.com");
array.add("phone: 9848022338");
array.add("city: Hyderabad");
array.add("Area: Madapur");
array.add("State: Telangana");
Sytem.out.println(array.size());
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies