JsonUtils icon indicating copy to clipboard operation
JsonUtils copied to clipboard

datamember attribute option

Open vbjay opened this issue 6 years ago • 1 comments

Selecting VB.Net and DataMember attributes, we get JsonProperty attributes.

vbjay avatar Feb 23 '18 19:02 vbjay

Now we get no attributes.

{"employees": [
{  "firstName":"John" , "lastName":"Doe" },
{  "firstName":"Anna" , "lastName":"Smith" }, 
{ "firstName": "Peter" ,  "lastName": "Jones " }
]}

should generate


<DataContract>
Public Class Employee
	<DataMember>
	Public Property firstName As String
	<DataMember>
	Public Property lastName As String
End Class
<DataContract>
Public Class Example
	<DataMember>
	Public Property employees As Employee()
End Class

vbjay avatar Jun 08 '18 15:06 vbjay