mirror of
				https://github.com/esiur/esiur-dotnet.git
				synced 2025-10-31 07:51:36 +00:00 
			
		
		
		
	2.2
This commit is contained in:
		| @@ -55,7 +55,7 @@ class ResourceJsonConverter : JsonConverter<IResource> | ||||
|         foreach (var pt in resource.Instance.Template.Properties) | ||||
|         { | ||||
|             var rt = pt.PropertyInfo.GetValue(resource, null); | ||||
|             if (rt is DistributedPropertyContext) | ||||
|             if (rt != null && rt.GetType().IsGenericType) | ||||
|                 continue; | ||||
|  | ||||
|             writer.WritePropertyName(options.PropertyNamingPolicy?.ConvertName(pt.Name) ?? pt.Name); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user