JsonContent.Parse

Parse(string, JsonDocumentOptions)

Parses a json text an converts it to a JsonContent

public static JsonContent Parse(string jsonContent, JsonDocumentOptions options = default)
ParameterTypeDescription
jsonContentStringThe json text content.
optionsJsonDocumentOptionsParser options.

Return Value

A JsonContent object

See Also


Parse(JsonDocument)

public static JsonContent Parse(JsonDocument root)

See Also