JsonReader.Peek Method

Definition

Returns the type of the next token without consuming it.

[Android.Runtime.Register("peek", "()Landroid/util/JsonToken;", "")]
public Android.Util.JsonToken? Peek ();
[<Android.Runtime.Register("peek", "()Landroid/util/JsonToken;", "")>]
member this.Peek : unit -> Android.Util.JsonToken

Returns

Attributes

Exceptions

Remarks

Returns the type of the next token without consuming it.

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

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