网址

时间:2017-02-18 19:43:13

标签: json url operators

大家好我有一个我在http://localhost:3004运行的db.json文件 格式如下:

[
  {
    "Symbol": "AAPL",
    "prodType": "STK",
    "Market": "Symbol Industries Inc",
    "Country": "US",
    "Quantity": 10,
    "NominalValue": 123.45,
    "AvgPrice": 131.16,
    "PositionCost": 123.87,
    "LastPrice": 123.567,
    "PositionValue": 145.78,
    "TotalValue": 123.347,
    "PortfolioPercentage": 12,
    "ProfitLoss": 1235.09,
    "Results": "12 Dec, 2017",
    "Dividend": "29 Apr, 2017"
  },
  {
    "Symbol": "fsdfsd",
    "prodType": "DER",
    "Market": "Symbol Industries Inc",
    "Country": "Greece",
    "Quantity": 10,
    "NominalValue": 123.45,
    "AvgPrice": 131.16,
    "PositionCost": 123.87,
    "LastPrice": 123.567,
    "PositionValue": 145.78,
    "TotalValue": 123.347,
    "PortfolioPercentage": 12,
    "ProfitLoss": 1235.09,
    "Results": "12 Dec, 2017",
    "Dividend": "29 Apr, 2017"
  }
]

我想对URL进行查询,以便为我提供总值大于100且小于130的记录,但我不能。我使用不同的方法,但没有人正常工作。如何在此URL中实现此类查询?

0 个答案:

没有答案