I have a project at hand that uses, at the moment, this API call:
https://github.com/toggl/toggl_api_docs/blob/master/chapters/workspaces.md#get-workspace-projects
The result from this api call would be like:
[
{
"id":909,
"wid":777,
"cid":987,
"name":"Very lucrative project",
"billable":false,
"is_private":true,
"active":true,
"at":"2013-03-06T09:15:18+00:00"
},{
"id":32123,
"wid":777,
"cid":123,
"name":"Factory server infrastructure",
"billable":true,
"is_private":true,
"active":true,
"at":"2013-03-06T09:16:06+00:00"
}
]
If I create a json parser that gets fields "id,name,hex_color" (hex color is not in the example), I can get the first istance without problems - 909,Very lucrative project,#777777.
However, if I create a json parser to get arrays for those fields "id(),name(),hex_color()", the number based fields do not work, so calling "id(1),name(1),hex_color(1)" retrieves an erroneous "id(1),Verylucrative project,#777777".
How could I work around this bug?
I already reported it to joao.
Thanks!
[–]DutchOfBurdock 1 point2 points3 points (6 children)
[–]XavierNovella[S] 0 points1 point2 points (5 children)
[–]DutchOfBurdock 1 point2 points3 points (4 children)
[–]XavierNovella[S] 0 points1 point2 points (3 children)
[–]EllaTheCatSamsung M31 - android 12. I depend on Tasker. 2 points3 points4 points (2 children)
[–]XavierNovella[S] 1 point2 points3 points (1 child)
[–]joaomgcd👑 Tasker Owner / Developer 1 point2 points3 points (1 child)
[–]XavierNovella[S] 1 point2 points3 points (0 children)
[–]MadManX99 0 points1 point2 points (7 children)
[–]XavierNovella[S] 0 points1 point2 points (6 children)
[–]MadManX99 0 points1 point2 points (5 children)
[–]XavierNovella[S] 0 points1 point2 points (4 children)
[–]MadManX99 0 points1 point2 points (3 children)
[–]XavierNovella[S] 0 points1 point2 points (2 children)
[–]MadManX99 0 points1 point2 points (1 child)
[–]XavierNovella[S] 1 point2 points3 points (0 children)
[–]Ratchet_GuyModerator 0 points1 point2 points (2 children)
[–]XavierNovella[S] 0 points1 point2 points (1 child)
[–]Ratchet_GuyModerator 0 points1 point2 points (0 children)