CSharp · Console
using System;
using System.Xml;
using HtmlAgilityPack;
public class Program
{
public static void Main()
{
var json = @"{
identifier: '2051189775', //PRODUCT ID
fn: 'Fit- Whiskered Dark Wash Skirt',
category: ['sale'],
brand: 'Brand Name',
price: '22.90', // this would be the discount price
amount: '31.80', // this would be the original price
currency: 'USD',
//List can me even more.
};";
HtmlDocument doc = new HtmlDocument();
doc.LoadHtml(json);
Console.WriteLine(doc.DocumentNode.InnerText);
}
}