pixeldev pixeldev - 7 months ago 69
Vb.net Question

How can I JSON encode an array in VB.NET?

I need to pass back a JSON result for a routine I am working with. In

, how can arrays be JSON encoded?

Dim serializer as New JavaScriptSerializer()
Dim arrayJson as String = serializer.Serialize(myArray)