You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current APIs tend to take and return JSON objects with Base-64 encoding. In some applications this is a hindrance rather than a help; we should expose lower-level APIs which allow passing of raw strings.
Examples:
olm_account_identity_keys generates a chunk of JSON - but apps end up having to parse the json to fish out the individual keys.
The text was updated successfully, but these errors were encountered:
Ideally, I'd like to see support for raw, completely unencoded data (i.e. not base64 strings, or any other text format) for all input and output, allowing encoding/decoding to eventually be factored out into external code, and skipped entirely when unneeded such as when persisting data locally. This could also improve reusability and ultimately reduce the amount of code to be maintained and audited within the olm library itself.
The current APIs tend to take and return JSON objects with Base-64 encoding. In some applications this is a hindrance rather than a help; we should expose lower-level APIs which allow passing of raw strings.
Examples:
The text was updated successfully, but these errors were encountered: