This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdarg.h> | |
#include <stddef.h> | |
typedef int jint; | |
typedef int jclass; | |
typedef int jobject; | |
typedef int jmethodID; | |
typedef int jfieldID; | |
typedef int JNIEnv; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Storage.prototype.proxy = {} | |
Storage.prototype.getAll = function () { | |
data = {}; | |
Object.keys(this).forEach(key => { | |
try { | |
data[key] = JSON.parse(this[key]); | |
} catch { | |
data[key] = this[key]; | |
} | |
}); |