From 35a80586a5591558ba88f1d237c73ab495cb95f8 Mon Sep 17 00:00:00 2001 From: Pascal Christoph Date: Thu, 26 Aug 2021 17:52:49 +0200 Subject: [PATCH 1/2] Update decode-json See metafacture/metafacture-core#382. --- flux-commands.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/flux-commands.md b/flux-commands.md index b15c12d..874eceb 100644 --- a/flux-commands.md +++ b/flux-commands.md @@ -114,8 +114,9 @@ decode-html decode-json ----------- -- options: recordid (String), recordcount (int), arraymarker (String), arrayname (String), allowcomments (boolean) -- signature: -> +- description: Decodes JSON to metadata events. The 'setRecordPath' option can be used to set a JsonPath to extract a path as JSON - or to split the data into multiple JSON documents. +- options: recordid (String), recordcount (int), arraymarker (String), arrayname (String), recordpath (String), allowcomments (boolean) +- signature: String -> StreamReceiver - java class: org.metafacture.json.JsonDecoder decode-mab From 6cb78bb8f35abc6df4635a5d9559495f21c0d3f2 Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Fri, 27 Aug 2021 14:43:31 +0200 Subject: [PATCH 2/2] Update decode-json description See https://github.com/metafacture/metafacture-core/pull/384 --- flux-commands.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flux-commands.md b/flux-commands.md index 874eceb..a750e7c 100644 --- a/flux-commands.md +++ b/flux-commands.md @@ -114,7 +114,7 @@ decode-html decode-json ----------- -- description: Decodes JSON to metadata events. The 'setRecordPath' option can be used to set a JsonPath to extract a path as JSON - or to split the data into multiple JSON documents. +- description: Decodes JSON to metadata events. The 'recordPath' option can be used to set a JsonPath to extract a path as JSON - or to split the data into multiple JSON documents. - options: recordid (String), recordcount (int), arraymarker (String), arrayname (String), recordpath (String), allowcomments (boolean) - signature: String -> StreamReceiver - java class: org.metafacture.json.JsonDecoder