阅读背景:

解析Omniauth JSON响应。哈希键是可变的,不知道如何访问

来源:互联网 

I am receiving JSON data from Omniauth and parsing it into a hash, however the data is formatted such that the user ID, changed to "USER_ID" in the code below, is the key. I need to access the data to add uid, name, email etc to make it accessible by the rails app, however I'm not sure how to do so since the key (USER_ID) will change with each user.I am receiving JSON data from Omniauth and pars




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: