I'm calling third party api from my asp.net mvc project. That api requires json object that has property name with space. But in c# we can't create property name with space. How Can I do that, I'm stuck?
I have tried using JsonProperty, but It is not working. I have tried to replace string in serialize string and then send that string to api but that gives me total error.
{
"Single":14000,
"Double":14500,
"Triple":15000,
"ExtraBed":15500,
"ExtraChild":16000,
"ExtraAdult":16000
}
But instead of ExtraBed, I have to pass as 'Extra Bed'.