This repository has been archived by the owner on Mar 24, 2024. It is now read-only.
-
i want to know ... |
Beta Was this translation helpful? Give feedback.
Answered by
Marco5dev
Sep 23, 2023
Replies: 1 comment
-
Simple you can do it like this: const dataName = 'MyData'; // Specify the data name
const dataToSave = { /* Data to be saved goes here */ };
jsonverse
.saveData(dataName, dataToSave)
.then((result) => {
// Data Saved Successfully
})
.catch((error) => {
// Error Handling
// you can use this commend to console and save the erro in logs file
jsonverse.logError(error) // result: [Error]: error
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Marco5dev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simple you can do it like this: