JSONRepository
classin packageklyn.data.json
public final class JSONRepository<T, TId> extends DocumentRepository<T, TId>:
JSONRepository

Read-only typed KQL repository over an atomic JSON document.

Mapping metadata is resolved once from provider-neutral entity annotations and JSON paths. Each execution parses one complete file generation, materializes identities before relationships, and evaluates canonical QIR. LAZY relationships retain hidden unloaded state; only EAGER metadata and KQL join fetch paths populate their direct entity properties.

Example
users = JSONRepository<User, Int>.open(JSONConfiguration("users.json"))
active = query:
from users user
where user.active
Methods
Modifier and Type Member Description
public static open
open( configuration as JSONConfiguration ) as JSONRepository<T, TId>:
Opens a lazy repository without retaining a file handle.
public override providerDomain
providerDomain() as Object:
Identifies repositories reading the same canonical JSON path.
public override providerName
providerName() as String:
Returns the stable JSON provider identifier.