Show / Hide Table of Contents

Class JsonArrayExtensions

Provides extension methods for JsonArrays.

Inheritance
System.Object
JsonArrayExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Manatee.Json
Assembly: Manatee.Json.dll
Syntax
public static class JsonArrayExtensions

Methods

| Improve this Doc View Source

OfType(Nullable<JsonArray>, JsonValueType)

Returns a JsonArray containing only the JsonValues of a specified type from a given JsonArray.

Declaration
public static JsonArray OfType(this JsonArray? arr, JsonValueType type)
Parameters
Type Name Description
System.Nullable<JsonArray> arr

The array to search

JsonValueType type

The type of value to return

Returns
Type Description
JsonArray

A JsonArray containing only the JsonValues of a specified type

  • Improve this Doc
  • View Source
Back to top Generated by DocFX