JsonHelperDeserializeListT Method
Populates a list of objects from a Json string.
Namespace: Common.Core.ClassesAssembly: Common.Core (in Common.Core.dll) Version: 2.1.5
public static List<T> DeserializeList<T>(
ref string?? json,
JsonSerializerOptions? options = null
)
- json String
- Json string.
- options JsonSerializerOptions (Optional)
- Optional Json serializer options
- T
- Generic class or interface.
ListTAn empty list is returned if the string could not be converted.