boolean (String name, JsonReaderEx reader) { reader.beginObject(); while (reader.hasNext()) { if (reader.nextName().equals(name)) { return reader.nextBoolean(); } else { reader.skipValue(); } } return false; }