Json seems not correct for item_comment

3 views
Skip to first unread message

Guy Bobenrieth

unread,
Sep 7, 2010, 5:36:07 AM9/7/10
to gubb-developers
Dear reader,

I'm working a little tool to extract data from the Gubb by using the
REST API.

When doing :
http://gubb.net/api/item_comment/get_all.json?filter_status=all&id=[myId]&api_key=[mykey]&parser=json

to get all comments for an item, the api produces something like :

{"item_comments":
[{"item_comment" : {"item_id":
1973***,"date_created":"2010-09-07T07:11Z","id":
3****,"note":"...","user_id":37315,},
{"item_comment" : {"item_id":
1973***,"date_created":"2010-09-07T07:12Z","id":
3****,"note":"...","user_id":37315,}
]
}

As you can notice, it seems that the API appends an unexpected comma
at the end of each item_comment.

Can you give some explanations about it ?

Thanks in advance

Guy
Reply all
Reply to author
Forward
0 new messages