moltzaum edited a comment on issue #3304: Golang endpoints should accept 
"string integers"
URL: https://github.com/apache/trafficcontrol/issues/3304#issuecomment-460812972
 
 
   Do you think that it would be possible to avoid using `JSONIntStr` and 
instead replace `"[0-9]*"` with the number inside the quotes before decoding? 
Would that break anything?
   
   Another potential solution is to replace `[0-9]` (excluding quotes) with the 
number now inside quotes. Then the json struct tag can be `",string"` for that 
field.
   
   EDIT: nvm, I think something more robust is needed if we need to support 
floating point and boolean types as well
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to