Preparing search index...
The search index is not available
node-json-db
node-json-db
adapter/data/JsonAdapter
JsonAdapter
Class JsonAdapter
Use to read and write data of type T
Implements
IAdapter
<
any
>
Index
Constructors
constructor
Methods
read
Async
write
Async
Constructors
constructor
new
JsonAdapter
(
adapter
:
IAdapter
<
string
>
,
humanReadable
?:
boolean
)
:
JsonAdapter
Parameters
adapter
:
IAdapter
<
string
>
humanReadable
:
boolean
= false
Returns
JsonAdapter
Methods
read
Async
readAsync
()
:
Promise
<
any
>
Read the data from the medium
Returns
Promise
<
any
>
write
Async
writeAsync
(
data
:
any
)
:
Promise
<
void
>
Write date into the medium
Parameters
data
:
any
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
read
Async
write
Async
node-json-db
Loading...
Use to read and write data of type T