Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datamember attribute option #26

Open
vbjay opened this issue Feb 23, 2018 · 1 comment
Open

datamember attribute option #26

vbjay opened this issue Feb 23, 2018 · 1 comment

Comments

@vbjay
Copy link

vbjay commented Feb 23, 2018

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

@vbjay
Copy link
Author

vbjay commented Jun 8, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant