public PatchObject <TUser> GetPatchObjectWithFields(params string[] fields) { var jobject = PatchRequestsConstructor.GetRequestWithFields(fields); var jsonRaw = jobject.ToString(); var stjObject = JsonSerializer.Deserialize <PatchObject <TUser> >(jsonRaw); return(stjObject); }
public PatchObject <TUser> GetPatchObjectWithFields(params string[] fields) { return(PatchRequestsConstructor.GetRequestWithFields(fields).ToObject <PatchObject <TUser> >()); }