We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
like this
JSONObject jsonObject = new JSONObject(); jsonObject.put("v1", "v1"); JSONArray array = new JSONArray(); //wrong JSONObject object2 = new JSONObject(); object2.put("o", "o2"); array.add(object2); //right JSONObject object1 = new JSONObject(); object1.put("o", 123); array.add(object1); jsonObject.put("array", array);
isSuccess = false.
JSONObject jsonObject = new JSONObject(); jsonObject.put("v1", "v1"); JSONArray array = new JSONArray(); //right JSONObject object1 = new JSONObject(); object1.put("o", 123); array.add(object1); //wrong JSONObject object2 = new JSONObject(); object2.put("o", "o2"); array.add(object2); jsonObject.put("array", array);
isSuccess = right
The text was updated successfully, but these errors were encountered:
No branches or pull requests
like this
isSuccess = false.
isSuccess = right
The text was updated successfully, but these errors were encountered: