json-diff-rfc6902
Version:
This framework is to compare two JSON data and generate the Patch
80 lines • 2.44 kB
JSON
[
{
"op": "replace",
"path": "",
"value": [
{
"Outcome": "Success",
"Message": null,
"Identity": "Request",
"Delay": 0.0093195,
"BaseCurrency": "EUR",
"QuoteCurrency": "USD",
"Symbol": "EURUSD",
"Date": "04/19/2016",
"Time": "1:49:10 PM",
"QuoteType": "Spot",
"Bid": 1.13623,
"Mid": 1.136255,
"Ask": 1.13628,
"Spread": 0.00005,
"Text": "1 European Union euro = 1.136255 United States dollars",
"Source": "SIX Financial Information, Buyer = \"ICAP PLC London, Premium Spot Forex\", Seller = \"ICAP PLC London, Premium Spot Forex\""
},
{
"Outcome": "Success",
"Message": null,
"Identity": null,
"Delay": 0,
"BaseCurrency": "USD",
"QuoteCurrency": "GBP",
"Symbol": "USDGBP",
"Date": "04/19/2016",
"Time": "1:49:10 PM",
"QuoteType": "Calculated",
"Bid": 0.694806,
"Mid": 0.694828,
"Ask": 0.69485,
"Spread": 0.0000434507,
"Text": "1 United States dollar = 0.694828 British pound sterling",
"Source": "Rate calculated from GBP:USD"
},
{
"Outcome": "Success",
"Message": null,
"Identity": null,
"Delay": 0,
"BaseCurrency": "EUR",
"QuoteCurrency": "JPY",
"Symbol": "EURJPY",
"Date": "04/19/2016",
"Time": "1:49:10 PM",
"QuoteType": "Spot",
"Bid": 124.129,
"Mid": 124.134,
"Ask": 124.139,
"Spread": 0.01,
"Text": "1 European Union euro = 124.134 Japanese yen",
"Source": "SIX Financial Information, Buyer = \"ICAP PLC London, Premium Spot Forex\", Seller = \"ICAP PLC London, Premium Spot Forex\""
},
{
"Outcome": "Success",
"Message": null,
"Identity": null,
"Delay": 0,
"BaseCurrency": "CHF",
"QuoteCurrency": "DKK",
"Symbol": "CHFDKK",
"Date": "04/19/2016",
"Time": "1:49:10 PM",
"QuoteType": "Spot",
"Bid": 6.8131,
"Mid": 6.81465,
"Ask": 6.8162,
"Spread": 0.0031,
"Text": "1 Switzerland Franc = 6.81465 Danish kroner",
"Source": "SIX Financial Information, Buyer = \"ICAP PLC London, Premium Spot Forex\", Seller = \"ICAP PLC London, Premium Spot Forex\""
}
]
}
]