logoalt Hacker News

notpushkinyesterday at 1:22 PM1 replyview on HN

Surely it does:

  {
    "price": {
      "amount": 1000,
      "decimal_places": 2,
      "currency": "USD"
    }
  }

Replies

lxgryesterday at 1:38 PM

How is that better than {“amount”: “10.00”} (which also bypasses all potential floating point parsing issues that your or your counterparty’s JSON library might have)?

show 1 reply