Gary Murry - 2008-08-29


I am not sure if this is a bug or I am abusing the API.  I have a json object like what follows: { "dataType": "performance", "data" : {"response time" : "10 seconds"} }.  When I try to use json_find_first_label (json_object, "data") it returns "dataType" : "performance".  I looked at the code it looks like it is just searching for a label that begins with the search string, rather then the whole string matching.  I have a work around, just append a "." to the end of the tags, but I was wondering how one is supposed to get the actual "data" tag in this case?  Or is this a bug?

Thanks for you time,
-Gary Murry