OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:JsonUtils
(Results
1 - 7
of
7
) sorted by null
/developers/build/prebuilts/gradle/Quiz/Application/src/main/java/com/example/android/wearable/quiz/
JsonUtils.java
27
final class
JsonUtils
{
34
private
JsonUtils
() {
MainActivity.java
229
String question = questionObject.getString(
JsonUtils
.JSON_FIELD_QUESTION);
230
JSONArray answersJsonArray = questionObject.getJSONArray(
JsonUtils
.JSON_FIELD_ANSWERS);
231
String[] answers = new String[
JsonUtils
.NUM_ANSWER_CHOICES];
235
int correctIndex = questionObject.getInt(
JsonUtils
.JSON_FIELD_CORRECT_INDEX);
264
JSONObject jsonObject =
JsonUtils
.loadJsonFile(this, QUIZ_JSON_FILE);
265
JSONArray jsonArray = jsonObject.getJSONArray(
JsonUtils
.JSON_FIELD_QUESTIONS);
/developers/samples/android/deprecated/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/
JsonUtils.java
27
final class
JsonUtils
{
34
private
JsonUtils
() {
MainActivity.java
229
String question = questionObject.getString(
JsonUtils
.JSON_FIELD_QUESTION);
230
JSONArray answersJsonArray = questionObject.getJSONArray(
JsonUtils
.JSON_FIELD_ANSWERS);
231
String[] answers = new String[
JsonUtils
.NUM_ANSWER_CHOICES];
235
int correctIndex = questionObject.getInt(
JsonUtils
.JSON_FIELD_CORRECT_INDEX);
264
JSONObject jsonObject =
JsonUtils
.loadJsonFile(this, QUIZ_JSON_FILE);
265
JSONArray jsonArray = jsonObject.getJSONArray(
JsonUtils
.JSON_FIELD_QUESTIONS);
/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/
JsonUtils.java
27
final class
JsonUtils
{
34
private
JsonUtils
() {
MainActivity.java
229
String question = questionObject.getString(
JsonUtils
.JSON_FIELD_QUESTION);
230
JSONArray answersJsonArray = questionObject.getJSONArray(
JsonUtils
.JSON_FIELD_ANSWERS);
231
String[] answers = new String[
JsonUtils
.NUM_ANSWER_CHOICES];
235
int correctIndex = questionObject.getInt(
JsonUtils
.JSON_FIELD_CORRECT_INDEX);
264
JSONObject jsonObject =
JsonUtils
.loadJsonFile(this, QUIZ_JSON_FILE);
265
JSONArray jsonArray = jsonObject.getJSONArray(
JsonUtils
.JSON_FIELD_QUESTIONS);
/external/conscrypt/benchmark-graphs/src/main/java/org/conscrypt/graphgen/
Main.java
22
import com.bazaarvoice.jolt.
JsonUtils
;
82
List<?> chainrConfig =
JsonUtils
.jsonToList(specIn);
84
List<Object> input =
JsonUtils
.jsonToList(jmhIn);
86
out.write(
JsonUtils
.toJsonString(jsonOutput).getBytes(StandardCharsets.UTF_8));
Completed in 661 milliseconds