Method LoadJsonAsync(long, int, CancellationToken)

Assembly: redb.Core.dll

Load the whole object as raw JSON by ID, without a CLR props type — the in-database
materializer (get_object_json on every provider) serializes the full RedbObject tree
to the given depth. Permission check per config.DefaultCheckPermissionsOnLoad; the
typed props cache is not consulted (it is keyed by CLR type).
Returns null if object not found and config.ThrowOnObjectNotFound = false.

public Task<string?> LoadJsonAsync(long objectId, int depth = 10, CancellationToken cancellationToken = default)