/* Parse a string to get the name of a property.  */
static char* propertyName(char *ptr, json_t *property)
/* Parse a string to get the name of a property.  */
static char* propertyName(char *ptr, json_t *property)
{
    property->name = ++ptr;
    ptr            = parseString(ptr);
    if (!ptr)
        return 0;
    ptr = goBlank(ptr);
    if (!ptr)
        return 0;
    if (*ptr++ != ':')
        return 0;
    return goBlank(ptr);
}