Searched refs:JsonScope (Results 1 – 5 of 5) sorted by relevance
125 private final List<JsonScope> stack = new ArrayList<JsonScope>();127 stack.add(JsonScope.EMPTY_DOCUMENT);203 return open(JsonScope.EMPTY_ARRAY, "["); in beginArray()212 return close(JsonScope.EMPTY_ARRAY, JsonScope.NONEMPTY_ARRAY, "]"); in endArray()222 return open(JsonScope.EMPTY_OBJECT, "{"); in beginObject()231 return close(JsonScope.EMPTY_OBJECT, JsonScope.NONEMPTY_OBJECT, "}"); in endObject()238 private JsonWriter open(JsonScope empty, String openBracket) throws IOException { in open()249 private JsonWriter close(JsonScope empty, JsonScope nonempty, String closeBracket) in close()251 JsonScope context = peek(); in close()267 private JsonScope peek() { in peek()[all …]
205 private final List<JsonScope> stack = new ArrayList<JsonScope>();207 push(JsonScope.EMPTY_DOCUMENT);333 replaceTop(JsonScope.NONEMPTY_DOCUMENT); in peek()537 stack.add(JsonScope.CLOSED); in close()566 private JsonScope peekStack() { in peekStack()570 private JsonScope pop() { in pop()574 private void push(JsonScope newTop) { in push()581 private void replaceTop(JsonScope newTop) { in replaceTop()587 replaceTop(JsonScope.NONEMPTY_ARRAY); in nextInArray()668 replaceTop(JsonScope.DANGLING_NAME); in nextInObject()[all …]
22 enum JsonScope { enum
3130 android.util.JsonScope
32021 HSPLandroid/util/JsonScope;-><init>(Ljava/lang/String;I)V32022 HSPLandroid/util/JsonScope;->values()[Landroid/util/JsonScope;32030 HSPLandroid/util/JsonWriter;->close(Landroid/util/JsonScope;Landroid/util/JsonScope;Ljava/lang/Stri…32035 HSPLandroid/util/JsonWriter;->open(Landroid/util/JsonScope;Ljava/lang/String;)Landroid/util/JsonWri…58496 Landroid/util/JsonScope;