Class IJsonArgumentsExtensions
Inheritance
IJsonArgumentsExtensions
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
|
Edit this page
View Source
PrettyPrint(IJsonArguments, int, string[])
Declaration
public static string PrettyPrint(this IJsonArguments jsonArgs, int maxChars = 4000, string[] redactKeys = null)
Parameters
Returns
|
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 Parameters
|
Edit this page
View Source
TryGetBoolean(IJsonArguments, string, out bool)
Declaration
public static bool TryGetBoolean(this IJsonArguments a, string path, out bool v)
Parameters
Returns
|
Edit this page
View Source
TryGetInt32(IJsonArguments, string, out int)
Declaration
public static bool TryGetInt32(this IJsonArguments a, string path, out int v)
Parameters
Returns
|
Edit this page
View Source
TryGetString(IJsonArguments, string, out string)
Declaration
public static bool TryGetString(this IJsonArguments a, string path, out string v)
Parameters
Returns
|
Edit this page
View Source
TryGetToken(IJsonArguments)
Declaration
public static JToken TryGetToken(this IJsonArguments jsonArgs)
Parameters
Returns
|
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 Parameters
|
Edit this page
View Source
TryParseToken(string)
Declaration
public static JToken TryParseToken(string json)
Parameters
| Type |
Name |
Description |
| string |
json |
|
Returns