Method RedbGetJson(IRouteDefinition, string, int, string?, string?)

Assembly: redb.Route.Core.dll

Loads the whole object as raw JSON by id — the in-database materializer
(get_object_json) serializes the full tree; no props CLR type is needed, so a
pure-markup module without any assembly can read redb objects. The JSON string goes to
the target (body by default); a missing object stores null (or throws, per the redb
configuration's ThrowOnObjectNotFound).

public static IRouteDefinition RedbGetJson(this IRouteDefinition route, string idExpression, int depth = 10, string? storage = null, string? target = null)