Package-level declarations

Types

Link copied to clipboard

Parses a backend field that's either a raw string or a JSON-encoded string array — a common "loose" wire shape for fields like definitions/examples that may be sent as a single string or a list depending on backend version/content source.

Link copied to clipboard
class LocalizedValueParser(preferredLocaleKeys: List<String> = DEFAULT_PREFERRED_LOCALE_KEYS)

Parses a backend field that's either a plain string or a JSON-encoded {locale: value} map, preferring preferredLocaleKeys (falling back to the first non-blank value) when it's a map.