{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-java/issues/3248","repository_url":"https://api.github.com/repos/realm/realm-java","labels_url":"https://api.github.com/repos/realm/realm-java/issues/3248/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-java/issues/3248/comments","events_url":"https://api.github.com/repos/realm/realm-java/issues/3248/events","html_url":"https://github.com/realm/realm-java/issues/3248","id":169073673,"number":3248,"title":"Type HashMap<String, String> of field is not supported","user":{"login":"Dragas","id":6078508,"avatar_url":"https://avatars.githubusercontent.com/u/6078508?v=3","gravatar_id":"","url":"https://api.github.com/users/Dragas","html_url":"https://github.com/Dragas","followers_url":"https://api.github.com/users/Dragas/followers","following_url":"https://api.github.com/users/Dragas/following{/other_user}","gists_url":"https://api.github.com/users/Dragas/gists{/gist_id}","starred_url":"https://api.github.com/users/Dragas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dragas/subscriptions","organizations_url":"https://api.github.com/users/Dragas/orgs","repos_url":"https://api.github.com/users/Dragas/repos","events_url":"https://api.github.com/users/Dragas/events{/privacy}","received_events_url":"https://api.github.com/users/Dragas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/realm/realm-java/labels/T:Duplicate","name":"T:Duplicate","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-03T08:16:10Z","updated_at":"2016-08-03T08:47:14Z","closed_at":"2016-08-03T08:47:13Z","body":"Hi!\r\n\r\nI've been poking around realm library as an internal storage for data in android and it works great. Lately I've been wondering whether or not you could replace shared app preferences (later: SP) with this particular storage as in my experience shared preferences tend to accept data only once and never let you to either clear or edit them. I am aware that if database is in app's internal storage, it can only be accessed by that particular app.\r\n\r\nSo far I've been using SP to store encoded cookies from server, which acted as a hash map. Meanwhile migrating to realm I've come to an issue that field type `java.util.HashMap<java.util.String, java.util.String>` is not supported. How come? Do all fields need to extend RealmObject or be primitive?"},"comment":{"url":"https://api.github.com/repos/realm/realm-java/issues/comments/237179706","html_url":"https://github.com/realm/realm-java/issues/3248#issuecomment-237179706","issue_url":"https://api.github.com/repos/realm/realm-java/issues/3248","id":237179706,"user":{"login":"cmelchior","id":406066,"avatar_url":"https://avatars.githubusercontent.com/u/406066?v=3","gravatar_id":"","url":"https://api.github.com/users/cmelchior","html_url":"https://github.com/cmelchior","followers_url":"https://api.github.com/users/cmelchior/followers","following_url":"https://api.github.com/users/cmelchior/following{/other_user}","gists_url":"https://api.github.com/users/cmelchior/gists{/gist_id}","starred_url":"https://api.github.com/users/cmelchior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmelchior/subscriptions","organizations_url":"https://api.github.com/users/cmelchior/orgs","repos_url":"https://api.github.com/users/cmelchior/repos","events_url":"https://api.github.com/users/cmelchior/events{/privacy}","received_events_url":"https://api.github.com/users/cmelchior/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T08:47:13Z","updated_at":"2016-08-03T08:47:13Z","body":"In the mean time I'll close this as a duplicate as maps support is tracked in #759 "}}
{"actor":{"display_login":"cmelchior"}}