dataobject-parser
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.
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";...
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,...
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] =...
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...
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.