I am working with C# and I need to create some JSONs for my application. The structure varies and I am not interested in creating a new class to do so. I'm used to work with javascript objects and ruby dictionaries. I found some suggestions online but none of them worked.
At the moment, I am working with a JSON object like:
unit: "country",
suggestions: [
{ "value": "United Arab Emirates", "data": "AE" },
{ "value": "United Kingdom", "data": "UK" },
{ "value": "United States", "data": "US" }
]
I would like to know if it is possible to create a object where I could easily add and remove objects from suggestions and also manipulate the object like javascript or ruby.
Thanks!