Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dictionary parsing using Realm? #3982

Closed
ranjitDhiman1990 opened this issue Aug 18, 2016 · 2 comments
Closed

Dictionary parsing using Realm? #3982

ranjitDhiman1990 opened this issue Aug 18, 2016 · 2 comments
Labels

Comments

@ranjitDhiman1990
Copy link

ranjitDhiman1990 commented Aug 18, 2016

How do I parse a Dictionary response using Realm? Please help with example.

Here is my response -

"submission": {
"qId1": {
"answerString": "1001"
},
"qId2": {
"answerString": "1001"
},
"qId3": {
"answerString": "f"
},
"qId4": {
"answerString": "1001"
},
"qId5": {
"answerString": "1001"
},
"qId6": {
"answerString": "f"
},
"qId7": {
"answerString": "1001"
},
"qId8": {
"answerString": "1001"
},
"qId9": {
"answerString": "f"
},
"qId10": {
"answerString": "1001"
},
"qId11": {
"answerString": "1001"
},
"qId12": {
"answerString": "f"
}
}

@stel stel added the T-Help label Aug 18, 2016
@stel
Copy link
Contributor

stel commented Aug 18, 2016

@ranjitDhiman1990 please check JSON section in Docs, there is an example how to create Realm objects from a JSON. Also check this list of useful frameworks.

Let us know if it helped and feel free to ask any specific questions!

@jpsim
Copy link
Contributor

jpsim commented Aug 22, 2016

Closing since I think @stel's answer sufficiently covers this.

@jpsim jpsim closed this as completed Aug 22, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants