Add JsonReader.skipName.

This commit is contained in:
Eric Cochran
2018-04-30 18:41:18 -07:00
parent 7018cec47d
commit b848f1cc52
9 changed files with 82 additions and 7 deletions

View File

@@ -68,7 +68,7 @@ internal class KotlinJsonAdapter<T>(
val binding = if (index != -1) bindings[index] else null
if (binding == null) {
reader.nextName()
reader.skipName()
reader.skipValue()
continue
}