D
Dennis Monsewicz
I am a newbie to Ruby so I apologize for my ignorance.
I am trying to parse a JSON object but I keep getting the error of Can't
convert string to integer.
json = JSON.parse(resp.body)
json['member_id'].to_i
I have NO idea why this won't work! Thanks in advance for the help!
I am trying to parse a JSON object but I keep getting the error of Can't
convert string to integer.
json = JSON.parse(resp.body)
json['member_id'].to_i
I have NO idea why this won't work! Thanks in advance for the help!