Showing posts with label json. Show all posts
Showing posts with label json. Show all posts

Friday, 29 April 2016

Formating different json and strings with quotation

No comments
valid JSON formate in c# -

with dynamic value - 

 string json = "[{\"message\":\"" + message + "\",\"phoneNumber\":\"" + number + "\"}]";

with static value -

string json = "[{\"message\": \"this is test \", \"phoneNumber\": \"123456\"}]";

read more