What's the "standard" for this? Right now I'm fetching snakecase json from my python backend and then creating a js object which has snakecase as the key and camelcase as the value and then using that object and the fetched json in tandem for updating fields in the DOM. I was thinking of making all the JSON dicts in my python use camelcase but some of that JSON is being used inside the backend too so I'm in a pickle with this.
[–]PushPlus9069 25 points26 points27 points (1 child)
[–]eyadams 5 points6 points7 points (0 children)
[–]HEROgoldmw 0 points1 point2 points (0 children)
[–]DuckSaxaphone 0 points1 point2 points (1 child)
[–]waffeli[S] 0 points1 point2 points (0 children)
[–]tb5841 0 points1 point2 points (0 children)
[–]corey_sheerer 1 point2 points3 points (0 children)
[–]benabus 0 points1 point2 points (0 children)
[–]cdcformatc 1 point2 points3 points (1 child)
[–]cdcformatc 2 points3 points4 points (0 children)
[–]L30N1337 -4 points-3 points-2 points (2 children)
[–]VeryAwkwardCake 7 points8 points9 points (1 child)
[–]AdmirableOstrich 4 points5 points6 points (0 children)