Ruby and JSON
Complete the method below in the school.rb file which will return the reversed string value of the students name from the .json file
Example: "Jim" becomes "mij"
school.json
{
{
"students": [
{
"age": "nineteen",
"Major": "Computer Science",
"class": "Junior",
"name": "Jonathan"
},
{
"age": "twenty-one",
"Major": "Electrical Engineering",
"class": "Senior",
"name": "Jim"
}
]
}
school.rb
def reverse_the_students_name
#fill in the code here
End