JsonReader.NextName Method

Definition

Returns the next token, a JsonToken#NAME property name, and consumes it.

[Android.Runtime.Register("nextName", "()Ljava/lang/String;", "")]
public string? NextName ();
[<Android.Runtime.Register("nextName", "()Ljava/lang/String;", "")>]
member this.NextName : unit -> string

Returns

Attributes

Exceptions

if the next token in the stream is not a property name.

Remarks

Returns the next token, a JsonToken#NAME property name, and consumes it.

Java documentation for android.util.JsonReader.nextName().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to