dataobject-parser icon indicating copy to clipboard operation
dataobject-parser copied to clipboard

A nodejs module designed to parse an Object hash transposing between dot-notation and a structured heirarchy of Objects/Arrays.

Results 5 dataobject-parser issues
Sort by recently updated
recently updated
newest added

I think there is a bug where untranspose method is removing properties containing MongoDb ObjectId. I can demonstrate that with following TypeScript code: ``` import { ObjectId } from "mongodb";...

awaiting pr

Great package! I have an issue with handling arrays. I'm using *untranspose* to convert into a mongodb modifier. Input data looks like this: { tracking: true, blocked: true, nsfw: false,...

bug
needs information

Hi altogether, I have a simple question: ```DataObjectParser.prototype.set``` overwrites property sections complete when adding properties to the resulting model. Is it possible to add a merge mechanism like ```$obj[$key] =...

wip

TypeError: Cannot read property 'propertyIsEnumerable' of undefined at DataObjectParser.get (dataobject-parser.js:115) Our data model uses undefined (vs. null) intentionally. null denotes an intentional absence of value, while undefined has not yet...

bug
enhancement

We have a use case where we needed numbers in the flattened keys to be structured as string keys in an object rather than being arrays.