First off, let me start off that I am not a .net developer. The reason why I am asking this question is that we rolled out our REST-API and one of our first integration partners is a .net shop.
So basically we assumed that .net would provide some sort of wrapper to create JSON, but the developer in question created the string by hand. I've researched this topic a bit and I couldn't really find anything, though I believe .net provides something. :)
'current code
Dim data As String
data = "[hello, world]"
In PHP I would do the following (assuming ext/json is available ;):
<?php
$json = array('hello', 'world');
$json = json_encode($json);
I am also interested in what you use to decode the json into an array/object structure.
Help is very appreciated.