Convert EJSON to RealmObject

Hello, is there any possibility to convert EJSON result from the Realm Function into a RealmObject in an application?