вот что надо записать: { "account":"","paymentMethod":{ "type":"Account","accountId":"643"}, "purchaseTotals":{ "total":{ "amount":"","currency":"643"} } как это записать в переменную?
public static readonly string JsonStr = "{ \"account\":\"\",\"paymentMethod\":{ \"type\":\"Account\",\"accountId\":\"643\"}, \"purchaseTotals\":{ \"total\":{ \"amount\":\"\",\"currency\":\"643\"} }"; Код public static readonly string JsonStr = "{ \"account\":\"\",\"paymentMethod\":{ \"type\":\"Account\",\"accountId\":\"643\"}, \"purchaseTotals\":{ \"total\":{ \"amount\":\"\",\"currency\":\"643\"} }";