klyn.data.json.JSONRepository.open
method

    public static open(configuration as JSONConfiguration) as JSONRepository<T, TId>:

Description

Opens a lazy repository without retaining a file handle.

Parameters

Parameter | Description
--- | ---
`configuration` | JSON document configuration.

Returns

Typed read-only repository.

Example

    users = JSONRepository<User, Int>.open(JSONConfiguration("users.json"))