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

Add a section with examples #67

Open
BarryRufer opened this issue Nov 8, 2019 · 2 comments
Open

Add a section with examples #67

BarryRufer opened this issue Nov 8, 2019 · 2 comments

Comments

@BarryRufer
Copy link

Hello.

Need more examples.

"results": [{
  "books": [{
    "part": 1,
    "chapters": [
      {
        "chapter": 1
      }, {
        "chapter": 2
      }, {
        "chapter": 3
      }
    ]
  }]
}]

how to edit

"results": [{
  "books": [
    {
      "part": 1,
      "chapter": 1
    }, {
      "part": 1,
      "chapter": 2
    }, {
      "part": 1,
      "chapter": 3
    }
  ]
}]
@switzer
Copy link

switzer commented Dec 18, 2019

Perhaps there is a way that we can implement a sandbox in jsfiddle or something similar?

@bladimir-villarreal
Copy link

Please, better examples of working with arrays and append items to an existing array, the example in the documentations it's very simple and i can't understand how use it

`{
"sourceArray[]": {
"key": "destination[]+",
"transform": (val) => mappingFunction(val)
},
"otherSourceArray[]": {
"key": "destination[]+",
"transform": (val) => mappingFunction(val)
}
}

// Results in the destination array appending the source values
{
"destination": [
{/*Results from the mapping function applied to sourceArray */},
{/*Results from the mapping function applied to otherSourceArray */},
]
}`

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

3 participants