Trying to get the last object from a JSON list
I have the following JSON data : $ cat toto.json { "method": "GET", "path": "/users/sign_in", "status": 500, "exception.class": "NoMethodError", "exception.message": "undefined method `user_azure_activedirectory_v2_omniauth_authorize_path' for #<ActionDispatch::Routing::RoutesProxy:0x00007d6fe7cfd0d0 @scope=#<SessionsController:0x00000000186758>, @routes=#<ActionDispatch::Routing::RouteSet:0x00007d701b857b28>, @helpers=#<Module:0x00007d701b6f38b8>, @script_namer=nil>" } { "method": "GET", "path": "/users/sign_in", "status": 500, "exception.class": "NoMethodError", "exception.message":…