Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
fun interface BundledAssetReader

Reads a bundled JSON asset by file name. Android serves these from assets/; non-Android targets have no bundled assets and return null, which callers treat as "nothing to seed".

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
inline fun <T> BundledAssetReader.decode(name: String, json: Json): T?

Decodes bundled asset name to T using the shared tolerant json, or null if the asset is absent.