Skip to content

Home / node / server-modules / GlideJson / interfaces / JsonGetOptions @valkey/valkey-glide


@valkey/valkey-glide / server-modules/GlideJson / JsonGetOptions

Interface: JsonGetOptions

Represents options for formatting JSON data, to be used in the JSON.GET command.

Properties

indent?

optional indent: GlideString

Sets an indentation string for nested levels.


newline?

optional newline: GlideString

Sets a string that's printed at the end of each line.


noescape?

optional noescape: boolean

Optional, allowed to be present for legacy compatibility and has no other effect


path?

optional path: GlideString | GlideString[]

The path or list of paths within the JSON document. Default is root $.


space?

optional space: GlideString

Sets a string that's put between a key and a value.