Search Results for

    Show / Hide Table of Contents

    Class IJsonArgumentsExtensions

    Inheritance
    object
    IJsonArgumentsExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.IO.Json
    Assembly: Glitch9.IO.dll
    Syntax
    public static class IJsonArgumentsExtensions

    Methods

    | Edit this page View Source

    InvalidateArgumentsCache(IJsonArguments)

    ?꾩슂 ?? ?몄옄媛€ 諛붾€?寃쎌슦 罹먯떆瑜?鍮꾩썙??

    Declaration
    public static void InvalidateArgumentsCache(this IJsonArguments jsonArgs)
    Parameters
    Type Name Description
    IJsonArguments jsonArgs
    | Edit this page View Source

    PrettyPrint(IJsonArguments, int, string[])

    Declaration
    public static string PrettyPrint(this IJsonArguments jsonArgs, int maxChars = 4000, string[] redactKeys = null)
    Parameters
    Type Name Description
    IJsonArguments jsonArgs
    int maxChars
    string[] redactKeys
    Returns
    Type Description
    string
    | Edit this page View Source

    TryGetArguments<T>(IJsonArguments, out T, JsonSerializerSettings)

    Declaration
    public static bool TryGetArguments<T>(this IJsonArguments jsonArgs, out T value, JsonSerializerSettings settings = null)
    Parameters
    Type Name Description
    IJsonArguments jsonArgs
    T value
    JsonSerializerSettings settings
    Returns
    Type Description
    bool
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    TryGetBoolean(IJsonArguments, string, out bool)

    Declaration
    public static bool TryGetBoolean(this IJsonArguments a, string path, out bool v)
    Parameters
    Type Name Description
    IJsonArguments a
    string path
    bool v
    Returns
    Type Description
    bool
    | Edit this page View Source

    TryGetInt32(IJsonArguments, string, out int)

    Declaration
    public static bool TryGetInt32(this IJsonArguments a, string path, out int v)
    Parameters
    Type Name Description
    IJsonArguments a
    string path
    int v
    Returns
    Type Description
    bool
    | Edit this page View Source

    TryGetString(IJsonArguments, string, out string)

    Declaration
    public static bool TryGetString(this IJsonArguments a, string path, out string v)
    Parameters
    Type Name Description
    IJsonArguments a
    string path
    string v
    Returns
    Type Description
    bool
    | Edit this page View Source

    TryGetToken(IJsonArguments)

    Declaration
    public static JToken TryGetToken(this IJsonArguments jsonArgs)
    Parameters
    Type Name Description
    IJsonArguments jsonArgs
    Returns
    Type Description
    JToken
    | Edit this page View Source

    TryGet<T>(IJsonArguments, string, out T, JsonSerializerSettings)

    Declaration
    public static bool TryGet<T>(this IJsonArguments jsonArgs, string jsonPath, out T value, JsonSerializerSettings settings = null)
    Parameters
    Type Name Description
    IJsonArguments jsonArgs
    string jsonPath
    T value
    JsonSerializerSettings settings
    Returns
    Type Description
    bool
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    TryParseToken(string)

    Declaration
    public static JToken TryParseToken(string json)
    Parameters
    Type Name Description
    string json
    Returns
    Type Description
    JToken
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation