JSON.RESP

    Return the JSON in in form

    Examples

    Required arguments

    key

    is key to parse.

    is JSONPath to specify. Default is root . This command uses the following mapping from JSON to RESP:

    • JSON null maps to the bulk string reply.
    • JSON false and values map to the simple string reply.
    • JSON number maps to the integer reply or bulk string reply, depending on type.
    • JSON string maps to the bulk string reply.
    • JSON array is represented as an array reply in which the first element is the simple string reply [, followed by the array’s elements.
    • JSON object is represented as an array reply in which the first element is the simple string reply {. Each successive entry represents a key-value pair as a two-entry array reply of the bulk string reply.

    For more information about replies, see .

    Return

    JSON.RESP returns an array reply specified as the JSON’s RESP form detailed in .

    Return an array of RESP details about a document

    Get all RESP details about the document.

    See also

    | JSON.ARRLEN