-
Notifications
You must be signed in to change notification settings - Fork 6
Using the same types in Json structure #5
Copy link
Copy link
Open
Description
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.
Line 241 in 9e7a878
| "weightedAverage"=>$details[0]?$details[0]:0, |
Thanks for your time, and all the tools you are developing.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels