shape-json
shape-json copied to clipboard
Module used to convert a flat json array into a nested json object with a predefined scheme
Hello, I'm having an issue with the parse function where it filters out fields that are of type date. Example: My Shape: ``` const shape = "{ $group[requests](migrationRequestId)": { migrationRequestId:...
Hi, Firstly, great little project. Given this input: `let nestedInput = [{ "id": "2", "color": "blue", "people": [ { "name": "carl", "age": "22" }, { "name": "bob", "age": "32" },...
``` const input = [ employees: [ { name:"mak", age: "20", companies: [ {org: "aa", tenure: 1.5} , {org: "aa2", tenure: 5}] } ] ] expectedOutput = { employees: [...
Hi, In example scenario, Primary Key (single key) is considered for a group while defining the JSON Schema. Could you please let us know does this work for Composite Key...
it is recommended that you could build a better error reporting system, as currently, if error occurred, no error information would be provided. secondly, it is strongly recommend that you...