marklogic-contentpump icon indicating copy to clipboard operation
marklogic-contentpump copied to clipboard

Support JSON aggregate files in the form of [{...}, {...}, {…}]

Open aajacobs opened this issue 6 years ago • 5 comments

As a USER I frequently receive data as an array of objects [{...}, {...}, {…}] and want to be able to easily ingest it into MarkLogic using mlcp without having to preprocess the file to have a JSON object per line

Each object inside the array should be a separate document in MarkLogic, and ideally would support the mlcp 'uri_id' parameter to specify a property to use as the URI.

aajacobs avatar Apr 11 '19 18:04 aajacobs

Sounds like the aggregates of JSON documents.

mattsunsjf avatar Apr 11 '19 19:04 mattsunsjf

It is--just in a slightly different format (objects inside an array instead of standalone objects on each line).

aajacobs avatar Apr 11 '19 19:04 aajacobs

Another user also asked the same capability.

bgeorge11 avatar May 23 '19 15:05 bgeorge11

+1 on the capability being added to MLCP.

awanczowski avatar Feb 03 '22 15:02 awanczowski

@abika5 Could you please triage this?

yunzvanessa avatar Feb 03 '22 18:02 yunzvanessa