BeetleX.Redis icon indicating copy to clipboard operation
BeetleX.Redis copied to clipboard

ToJson() fails on HashTable

Open swmolen opened this issue 3 years ago • 1 comments

when calling .ToJson() on hash table in sample, it throws an error:

Self referencing loop detected for property 'Host' with type 'BeetleX.Redis.RedisDB'. Path 'DB'.

swmolen avatar Mar 06 '21 19:03 swmolen

There is no internal data in the hash table, and the data operates on the Redis Server.

Copy data to the Dictionary using Keys() and Get() methods

beetlex-io avatar Mar 07 '21 00:03 beetlex-io