is a convertion from a logical array to a json array implemented by vbnet?

That’s the problem with using a Tuple; the properties don’t have names you can choose. If you don’t want to create a full on class for this data (and take a google for “Paste JSON as Classes”; there isn’t much excuse for not having them), use an anonymous type:

Dim response = New With { _
  .container = New With { .type = "none", .single = false }, _
  .signature = New With { _
    .coordinates = New With { .x = 10, .y = 10 }, _
    .location = "IT", _

    .someOtherName = someOtherValue, _

    ... etc ...


CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top