android-components / mozilla.components.service.glean.storages / GenericScalarStorageEngine / getSnapshotAsJSON

getSnapshotAsJSON

open fun getSnapshotAsJSON(storeName: String, clearStore: Boolean): Any? (source)

Get a snapshot of the stored data as a JSON object.

Parameters

storeName - the name of the desired store

clearStore - whether or not to clearStore the requested store

Return
the JSONObject containing the recorded data.