bobzhang/faker/locale does not have a README file

    Locale

    pub struct Locale {
    data :
    Json

    }

    Locale definitions. Compose in descending precedence; explicit null disables a definition instead of falling through to a fallback locale.

    Locale::from_json

    Locale::get

    fn Locale::get(self : Locale, path : String) ->
    Json
    ?

    Read a dotted definition path, such as person.first_name.female.

    Locale::parse

    fn Locale::parse(data : String) -> Locale raise

    merge

    fn merge(locales : ArrayView[Locale]) -> Locale

    Merge locale entries in descending precedence, matching Faker mergeLocales. Entry objects (such as person.first_name) are replaced whole, not deep-merged.

    Source Files