I am writing a Firemonkey mobile app, and as the user could be without a signal at times, I need an SQLite local database to hold some data. I am using Delphi's Rest components to call an endpoint and receive some JSON. I have a TRESTResponseDataSetAdapter connected, but I'm getting an error caused by the field "Is_Admin" which is a boolean field in the internet server database, and the integer field "Is_Admin" in the local SQLite database. Is there some way to convert values before they are written to the SQLite table?