jsonobject
-
The JSONObject is not limited to name / value pairs .
JSONObject并不局限于名称/值对。
-
This is essential , as the children data is captured in the JSONObject format .
这非常重要,因为子数据是以JSONObject格式被捕获。
-
We then create a JSONObject to store the name / value pairs already stored in the Employee object .
然后,我们将创建一个JSONObject来存储已保存在Employee对象中的名称/值对。
-
This article uses JSONObject , JSONArray , and JsonString for the trees so the example gets the data in the right format .
本文使用树的JSONObject,JSONArray和JsonString,所以例子可以获得正确格式的数据。
-
Note that a particular string can be parsed directly into an array , as in this example , or the string can be parsed into a JSONObject .
要注意的是,正如此例所示,一个特殊的字符串能直接解析成一个数组,或者也可以直接解析成一个JSONObject。
-
JSONObject represents a JavaScript object ( that is , an associative array ) and has various put () methods that take a String key and a value that is a primitive , a String , or another JSON type .
JSONObject代表JavaScript对象(即联合数组),有不同的put()方法,方法接受的String键和值是原生类型、String类型或其他JSON类型。