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 @JSONCollection, @JSONField and the provider-neutral @Id. Every execution parses one complete file generation and then uses the canonical QIR evaluator.

Example
users = JSONRepository<User, Int>.open(JSONConfiguration("users.json"))
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 providerName
providerName() as String:
Returns the stable JSON provider identifier.
Inherited Methods
methodInherited Methods from DocumentRepository: asQuery, count, countPlan, executePlan, existsPlan, openStream, providerName, providerText, validateBeforeRead
methodInherited Methods from Repository: count, validateBeforeRead
methodInherited Methods from Queryable: asQuery
methodInherited Methods from QuerySource: countPlan, executePlan, existsPlan, openStream, providerName, providerText