from typing import Any


def _parse_value(value_raw: Any) -> str:
    """Parse a value to string

    Notes
    -----
    Here are the conditions:
    1. If the value is constrained by double quotes, it is a string;
    2. If it is a `null`, return an empty string;
    3. Otherwise it is a number. Return it as given.
    """

    value = value_raw.strip()
    # import ipdb; ipdb.set_trace()
    if value[0] == '"' and value[-1] == '"':
        return value[1:-1]

    if value == "null":
        return ""

    return value