alexandroid/decompiled/jadx/sources/org/json/HTTPTokener.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

34 lines
991 B
Java

package org.json;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes11.dex */
public class HTTPTokener extends JSONTokener {
public HTTPTokener(String str) {
super(str);
}
public String nextToken() throws JSONException {
char next;
StringBuilder sb = new StringBuilder();
do {
next = next();
} while (Character.isWhitespace(next));
if (next != '\"' && next != '\'') {
while (next != 0 && !Character.isWhitespace(next)) {
sb.append(next);
next = next();
}
return sb.toString();
}
while (true) {
char next2 = next();
if (next2 < ' ') {
throw syntaxError("Unterminated string.");
}
if (next2 == next) {
return sb.toString();
}
sb.append(next2);
}
}
}