com.eg.google.gson.internal.bind.JsonTreeReader Maven / Gradle / Ivy
package com.eg.google.gson.internal.bind;
import com.eg.google.gson.JsonArray;
import com.eg.google.gson.JsonElement;
import com.eg.google.gson.JsonNull;
import com.eg.google.gson.JsonObject;
import com.eg.google.gson.JsonPrimitive;
import com.eg.google.gson.stream.JsonReader;
import com.eg.google.gson.stream.JsonToken;
import java.io.IOException;
import java.io.Reader;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import static java.lang.Double.isInfinite;
import static java.lang.Double.isNaN;
public final class JsonTreeReader
extends JsonReader
{
private static final Reader UNREADABLE_READER = new Reader() {
public int read(char[] buffer, int offset, int count) throws IOException {
throw new AssertionError();
}
public void close() throws IOException {
throw new AssertionError();
}
};
private static final Object SENTINEL_CLOSED = new Object();
private final List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy