FAQ

How do I get a static field instead of a dynamic field for certain profile fields?

Certain profile fields provides dynamic schema such as MultiLocaleString. If you want a default value, check out localized profile fields.

For example, firstName field will return:

firstName profile field schema

{
    "localized": [
        {
            "locale": "zh_TW", 
            "string": "Bob"
        }, 
        {
            "locale": "ko_KR", 
            "string": "Bob"
        }, 
        {
            "locale": "en_US", 
            "string": "Bob"
        }
    ], 
    "preferredLocale": {
        "country": "US", 
        "language": "en"
    }
}

The localizedFirstName will return the preferredLocale value of the object:

localizedFirstName profile field schema

{
    "localizedFirstName": "Bob"
}