skipValue

abstract fun skipValue()

Skips the next value recursively. If it is an object or array, all nested elements are skipped.This method is intended for use when the JSON token stream contains unrecognized or unhandledvalues.

This throws a JsonDataException if this parser has been configured to fail on unknown values.