Skip to content

JSON.ParseTolerant method (1 of 2)

Deserializes a JSON string to an object, using more tolerant settings

public static object? ParseTolerant(string input, Type targetType)
parameter description
targetType Type to deserialize
input JSON string

Return Value

Deserialized object

See Also


JSON.ParseTolerant<T> method (2 of 2)

Deserializes a JSON string to an object, using more tolerant settings.

public static T? ParseTolerant<T>(string input)
parameter description
T Type to deserialize
input JSON string

Return Value

Deserialized object

See Also