Hello Fuzzysteve,
I was taking a look at your market API, and how useful it could be. I'm using it in Go Land, and the parser of JSON in this language have some problems where the same element have different types.
For example:
weightedAverage is a string, but when it's empty you send a 0 which is a number.
It would be nice is you send the same type all the time.
|
"weightedAverage"=>$details[0]?$details[0]:0, |
Thanks for your time, and all the tools you are developing.
Hello Fuzzysteve,
I was taking a look at your market API, and how useful it could be. I'm using it in Go Land, and the parser of JSON in this language have some problems where the same element have different types.
For example:
weightedAverage is a string, but when it's empty you send a 0 which is a number.
It would be nice is you send the same type all the time.
FuzzMarket/src/routes.php
Line 241 in 9e7a878
Thanks for your time, and all the tools you are developing.