diff --git a/Directory.Build.props b/Directory.Build.props index c9f4d7d..aa65b9e 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -12,7 +12,7 @@ LICENSE true icon.png - 0.2.1 + 0.3.0 10.0 strict diff --git a/OpenEphys.ProbeInterface.NET/ContactAnnotations.cs b/OpenEphys.ProbeInterface.NET/ContactAnnotations.cs index 73b241e..1d621a4 100644 --- a/OpenEphys.ProbeInterface.NET/ContactAnnotations.cs +++ b/OpenEphys.ProbeInterface.NET/ContactAnnotations.cs @@ -10,16 +10,17 @@ public class ContactAnnotations /// /// Gets the array of strings holding annotations for each contact. Not all indices must have annotations. /// + [JsonProperty("annotations")] public string[] Annotations { get; protected set; } /// /// Initializes a new instance of the class. /// - /// Array of strings containing annotations for each contact. Size of the array should match the number of contacts, but they can be empty strings. + /// Array of strings containing annotations for each contact. Size of the array should match the number of contacts, but they can be empty strings. [JsonConstructor] - public ContactAnnotations(string[] contactAnnotations) + public ContactAnnotations(string[] annotations) { - Annotations = contactAnnotations; + Annotations = annotations; } } }