skip to Main Content

Order of keys in package.json exports

I believe I understand the basic functioning of the exports key in package.json files: // package.json { "exports": { ".": { // used by typescript "types": "./file_with_type_defs.d.ts", // used by ESM resolution "import": "./file_to_import.mjs", // used by CJS resolution "require":…

VIEW QUESTION

Writing a JSON schema, problem with value type change

Here is what is returned from a API: [ { "id": "63c576504988e70xx", "value": { "text": "638dfbd58b3dde05xx" }, "idCustomField": "62ed5fa43601c14xxx", "idModel": "63c576504988e70249xxx", "modelType": "card" }, { "id": "63c576504988e71xx", "value": { "number": "8" }, "idCustomField": "62ed5fa43601c13xxx", "idModel": "63c576504988e70249xxx", "modelType": "card" }, {…

VIEW QUESTION

Json – How to use value of key in JOLT

I'm looking for breaking nested JSON file and trying to flatten them to fit into a SQL database. Current JSON: { "content": { "failedPerProductLineAndReason": { "Product1": { "Downsizing licenses is not allowed": 1 } } } } Expected outcome: {…

VIEW QUESTION
Back To Top
Search