Class JsonUtils
Inherited Members
Namespace: PoeShared.Scaffolding
Assembly: PoeShared.dll
Syntax
public static class JsonUtils
Methods
Name | Description |
---|---|
ParseJObject(string) | Safely parses a JSON string into a Newtonsoft.Json.Linq.JObject, enforcing a maximum depth limit to mitigate risks associated with deeply nested or malicious JSON payloads. |
ParseJToken(string) | Safely parses a JSON string into a Newtonsoft.Json.Linq.JToken while enforcing a maximum depth limit to protect against excessively nested or potentially malicious JSON structures. |