redis-json
Version:
A wrapper library to store JSON Objects in redis-hashsets and retrieve it back as JSON objects
51 lines (28 loc) • 881 B
Markdown
[redis-json](../README.md) › [IOptions](ioptions.md)
# Interface: IOptions
JSONCache options
## Hierarchy
* **IOptions**
## Index
### Properties
* [parser](ioptions.md#optional-parser)
* [prefix](ioptions.md#optional-prefix)
* [stringifier](ioptions.md#optional-stringifier)
## Properties
### `Optional` parser
• **parser**? : *[IParser](iparser.md)*
Defined in src/lib/jsonCache.types.ts:63
Parser will be used to convert the string
back to custom object when `get` is called
___
### `Optional` prefix
• **prefix**? : *undefined | string*
Defined in src/lib/jsonCache.types.ts:51
Custom prefix to be used for storage
namespace separation
___
### `Optional` stringifier
• **stringifier**? : *[IStringifier](istringifier.md)*
Defined in src/lib/jsonCache.types.ts:57
Stringifier will be used to convert a custom
object to a string when `set` is called