javascript - How to Parse Facebook Graph API "hours" response -
I am working with the Facebook Graph API to get some data from the Facebook page but I do not know how the results "Hour" is something like this: {"wed_1_open": "17:00", "wed_1_close": "02:00", "thu_1_open": "17:00", "" 02: 00 "," 2_1 "," 1/2 "," 1/2 "", "1/2", "Free_1_close": "02:00", "Sat_1_pennon": "12:00", "sat_1_close": "02:00", "So I wonder how to parse this result to get some human-readable text like one from the info bar: / P> Wedding - Venus: 17:00 - 2:00 Saturday: 12:00 - 2:00 Sun: 12:00 - 20:00 ago Thanks! One way to do this is:. Note: Something I have just written in a few minutes. If you are working with large amounts of data, then you have to customize accordingly. var rawFbData = {"wed_1_open": "17:00 "," Wed_1_close ":" 0...