{"JSONResponse":"{\"BuyItemResponse\":{\"@RegisterID\":\"99\",\"@ResponseCode\":\"0\",\"@ItemCode\":\"0000126\",\"@Description\":\"Tournament yo-yo\",\"@UnitPrice\":\"9.99\",\"@LineNumber\":\"26\",\"@WeightRequired\":\"0\",\"@QuantityRequired\":\"0\",\"@PriceRequired\":\"0\",\"@NotOnFile\":\"0\",\"@AgeRestriction\":\"0\",\"@NotForSale\":\"0\",\"@IsManufacturerCoupon\":\"0\",\"@IsStoreCoupon\":\"0\",\"@LineQuantityRestricted\":\"0\",\"@ItemQuantityRestricted\":\"0\",\"@UnitQuantityRestricted\":\"0\",\"@RestrictedQuantity\":\"0\",\"@SignatureRequired\":\"0\",\"@PromptRequired\":\"0\",\"@ApprovalCode\":\"0\",\"@xmlns\":\"http:\/\/ftxs.fujitsu.com\/GlobalSTORE\/InteractiveTransaction.xsd\",\"NewItems\":{\"Item\":{\"@ItemCode\":\"0000126\",\"@ScanCode\":\"\",\"@Description\":\"Tournament yo-yo\",\"@LineNumber\":\"26\",\"@POSLineItemType\":\"0\",\"@IsItemAuthorizationRequired\":\"false\",\"@Quantity\":\"1\",\"@UnitPrice\":\"9.99\",\"@ExtendedPrice\":\"9.99\",\"@DiscountAmount\":\"0.0000\",\"@TaxAmount\":\"0.7\",\"@UOM\":\"1\",\"@ReturnReasonCode\":\"0\",\"@TaxabilityCode\":\"2\",\"@VATCodes\":\"0\",\"@VoidCode\":\"0\",\"Taxes\":{\"Tax\":[{\"@TaxCode\":\"1\",\"@LineNumber\":\"2\",\"@Description\":\"5 Percent Tax\",\"@TaxAmount\":\"0.5\",\"@TaxRate\":\"0.05\",\"@TaxType\":\"70\"},{\"@TaxCode\":\"2\",\"@LineNumber\":\"3\",\"@Description\":\"2 Percent Tax\",\"@TaxAmount\":\"0.2\",\"@TaxRate\":\"0.02\",\"@TaxType\":\"70\"}]}}},\"TransactionTotals\":{\"@SubTotal\":\"256.55\",\"@TaxTotal\":\"16.79\",\"@DiscountTotal\":\"0.0000\",\"@CouponTotal\":\"0\",\"@BalanceDue\":\"256.55\",\"@ChangeDue\":\"0\",\"@RefundDue\":\"0.0000\",\"@TenderTotal\":\"0.0000\",\"@TrainingMode\":\"false\",\"@StartTime\":\"2014-09-02T11:46:51\",\"@TransactionType\":\"1\",\"@CustomerID\":\"\"},\"Taxes\":{\"Tax\":[{\"@TaxCode\":\"1\",\"@Description\":\"5 Percent Tax\",\"@TaxAmount\":\"11.99\",\"@TaxRate\":\"0.05\",\"@LineNumber\":\"2\",\"@TaxType\":\"70\"},{\"@TaxCode\":\"2\",\"@Description\":\"2 Percent Tax\",\"@TaxAmount\":\"4.8\",\"@TaxRate\":\"0.02\",\"@LineNumber\":\"3\",\"@TaxType\":\"70\"}]}}}"}
c# puts the back slash escape character before the "(double qoute). How do I suppress the \ (back slash) from my JSON response which is just a string? I want just " instead of \".
No comments:
Post a Comment