Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Go's JSON parser ignores fields that aren't present in the destination type, so the addition of new parameters shouldn't be a problem.


I believe the issue is that new parameters wouldn't be accessible without a library update.


My sense is that the Go developer culture is a lot more open to frequently updating their dependencies than the Java developer culture. Fetching dependencies from git is built into Go, after all.


AFAIK GSON (which stripe-java users) also ignores fields which are not present in the destination type, but the original post was about parameters so that's not even relevant: deserialisation would only be relevant for responses.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: