SecureJson
Namespace: Vercel.AI.ProviderUtils
public static class SecureJsonParses JSON and rejects __proto__ and constructor.prototype payload keys.
Inheritance: object
Methods
Section titled “Methods”Parse(string)
Section titled “Parse(string)”public static JsonElement Parse(string text)Parses <code class=“paramref”>text</code> and returns a detached element.
Parameters
| Name | Type | Description |
|---|---|---|
text |
string |
Returns: JsonElement
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product