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

how to store data of tree structure in firebase? in android studio project #40

Open
jughoor opened this issue Jan 7, 2020 · 0 comments

Comments

@jughoor
Copy link

jughoor commented Jan 7, 2020

I want to store data of tree structure in Firebase DB, below is the JSON of which i want to store in the Firebase DB.

[
{
"block": [
  {
"blockname": "first block",
"blockintervel": "daily",
"blockpic": "SDFsdfsdfgfhfghfgggfghfg",
"block": [
  {
    "blockname": "first block",
    "blockintervel": "daily",
    "blockpic": "SDFsdfsdfgfhfghfgggfghfg",
    "block": []
  }
]
  }
]
  },
  {
"block": [
  {
"blockname": "first block",
"blockintervel": "daily",
"blockpic": "mypic",
"block": [
  {
    "blockname": "first block",
    "blockintervel": "daily",
    "blockpic": "mypic",
    "block": []
  }
]
  }
]
}
]

Please help me with some code snippet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant