Also depending on the setup you could first use
https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.12.1/org.apache.nifi.processors.standard.EncodeContent/index.html
in decode mode then do normal json handling.

Thanks

On Tue, Aug 15, 2023 at 7:42 AM Yolanda Davis <yolanda.m.da...@gmail.com>
wrote:

> Hello Chris,
>
> Depending on the structure of your Json file, you may be able to achieve
> what you need using processors such as JoltTransformJSON
> <
> https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.22.0/org.apache.nifi.processors.standard.JoltTransformJSON/index.html
> >
> paired with NiFi's expression language which supports base64
> <
> https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html#base64encode
> >
> encoding and decoding.  JoltTransform is very useful if you're looking to
> convert or transform incoming JSON data to another json structure. Also
> EvaluateJsonPath
> <
> https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.22.0/org.apache.nifi.processors.standard.EvaluateJsonPath/index.html
> >
> may
> be useful as well if you're looking to extract data first from json then
> potentially decode/encode
>
> Hope this helps!
>
> -yolanda
>
> On Tue, Aug 15, 2023 at 9:45 AM Reid, Chris <chrisr.r...@cbsa-asfc.gc.ca>
> wrote:
>
> > Hello.
> >
> > I understand that there's currently no Apache NiFi processor that can
> > process JSON files embedded with Base64 encoded files.
> >
> > I'd like to know if it's possible to develop a custom Apache NiFi
> > processor to process JSON files embedded with Base64 files?
> >
> > Thank you.
> >
> > Chris
> >
>
>
> --
> --
> yolanda.m.da...@gmail.com
> @YolandaMDavis
>

Reply via email to