jstruct icon indicating copy to clipboard operation
jstruct copied to clipboard

:bulb: Quick and easy JSON transformations.

Results 6 jstruct issues
Sort by recently updated
recently updated
newest added

If you could pass in the formatting data from within req.body you could access the data layer in the format that the client prefers. There is an opportunity here to...

- [ ] Write an extended version of `R.path(arr, obj)`. See issues: #7, #8, #9, #10 - [ ] Selector should throw exceptions if malformed paths are created or used.

- [ ] Keys encased with `'sel()'` are selectors, too. - [ ] Grouping is magic done like so: ``` javascript { "activities": { "sel(person/interests[*]/type)": "person/interests[$k]/name" } } ``` -...

- [ ] The most basic filter is `[*]`. This does what it looks like. So does `[prop]`. - [ ] Slices are also supported with `[slice, end, step]` -...

- [ ] A context may be generated automatically as the object is transformed. - [ ] A selector shall be passed a key-value object context. - [ ] $contextKey...

- [ ] Come up with sensible behaviour for if a selector returns multiple values. Also, decide what to do if there were multiple selectors each returning multiple values.