Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jsondb

//Actual location on disk for database files, process should have read-write permissions to this folder
String dbFilesLocation = "<path on disk to save or read .json files from>";

//Java package name where POJO's are present
String baseScanPackage = "com.mypackage.model";

//Optionally a Cipher object if you need Encryption
ICipher cipher = new Default1Cipher("1r8+24pibarAWgS85/Heeg==");

JsonDBTemplate jsonDBTemplate = new JsonDBTemplate(dbFilesLocation, baseScanPackage, cipher);
Source by jsondb.io #
 
PREVIOUS NEXT
Tagged: #jsondb
ADD COMMENT
Topic
Name
3+5 =