/* Parse a string to get the value of a property when its type is JSON_TEXT.  */
static char* textValue(char *ptr, json_t *property)
/* Parse a string to get the value of a property when its type is JSON_TEXT.  */
static char* textValue(char *ptr, json_t *property)
{
    ++property->u.value;
    ptr = parseString(++ptr);
    if (!ptr)
        return 0;
    property->type = JSON_TEXT;
    return ptr;
}