Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <OperationContract , Wbinvoke(Method:="POST", RequestFormat:=WebMessageformat.Json, ResponseFormat:=WebMessageformat.Json, UriTemplate:= "/testData"
- Public Function testData(Byval myData as list(of Example))
- dim mylist = myData
- End Function
- Public Class Values
- <JsonProperty(PropertyName:="0")> _
- Public Property r As Integer
- <JsonProperty(PropertyName:="1")> _
- Public Property g As Integer
- <JsonProperty(PropertyName:="2")> _
- Public Property b As Integer
- <JsonProperty(PropertyName:="3")> _
- Public Property a As Integer
- End Class
- Public Class Employee
- Public Property firstName As String
- Public Property lastName As String
- Public Property values As Values
- End Class
- Public Class Example
- Public Property employees As Employee()
- End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement