I have below JSON object
myvalues : {
0 : "value0",
1 : "value1",
2 : "value2",
3 : "value3"
}
I want to bind this JSON object into a vb.net class object as an input to a WCF OperationContract
method - but I can't define the numeric property names as numbers. I am getting the error message:
Identifier expected on property names because property name cannot be a number
Using the following:
Public class myvalues_class
public property 0 as string
public property 1 as string
public property 2 as string
public property 3 as string
end class
how can I convert this JSON object to a vb.net object class?