using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Json;
namespace StackOverflowQuestion
{
class StackOverflowQuestion
{
public StackOverflowQuestion()
{
JsonObject jsonObj = new JsonObject();
string[] arr = { "first_value", "second_value", "third_value" };
obj.Add("array", arr ); // Compiler cannot convert string[] to System.Json.JsonValue
}
}
}
I want to receive in result Json object like
{"array":["first_value","second_value","third_value"]"}