Klucz zestawu JSON Node Redis

await client.json.set('noderedis:jsondata', '$', {
  name: 'Roberta McDonald',
  pets: [
    {
      name: 'Rex',
      species: 'dog',
      age: 3,
      isMammal: true
    },
    {
      name: 'Goldie',
      species: 'fish',
      age: 2,
      isMammal: false
    }
  ]
});
florinrelea