Skip to content

JSON.PopulateObject<T> method

Tries to populate an existing object similar to JsonConvert's PopulateObject

public static void PopulateObject<T>(T target, string jsonSource, JsonSerializerOptions options)
    where T : class
parameter description
T Type of the object
target Target object
jsonSource JSON string
options Serializer options

See Also