json

scan

Scan JSON documents with values and version facts.

strata json scan

wire json_scan

Scans visible JSON documents starting at an optional document key. Each item includes the key, full document value, and commit metadata exposed by the executor output.

Paginated responses use opaque cursors. Clients should pass the returned cursor back to the same command shape and must not parse cursor contents.

To see the complete help for this command, run:

strata json scan --help

Example

Scan documents from the start, in key order.

strata json set a $ {"v":1}strata json set b $ {"v":2}strata json scan

Parameters

NameTypeRequiredDescription
branchstring or nullnoTarget branch. Defaults to the executor handle branch.
limitinteger or nullnoOptional row limit.
spacestring or nullnoTarget product space. Defaults to `"default"`.
startstring or nullnoOptional inclusive start document key.

Returns

Page<JsonSampleItem, String>

  • dataobject

    Shared pagination continuation facts.

  • typestring

Errors

Recover by code. Retry policy and commit outcome come from the shipped error registry.

← All 16 JSON commands

agents: this page as markdown → /docs/reference/json/scan.md