JsonHelperDeserializeJsonT Method
Reads a Json string and populates an object.
Namespace: Common.Core.ClassesAssembly: Common.Core (in Common.Core.dll) Version: 2.1.5
public static T DeserializeJson<T>(
ref string json,
JsonSerializerOptions? options = null
)
where T : class
- json String
- Json string.
- options JsonSerializerOptions (Optional)
- Optional Json serializer options.
- T
- Generic class or interface.
T is returned if the object could not be populated.