The set ingest processor converts json to string

I have an array of objecs that I create in a temporary field on my document.
I then want to use the value from that temporary field in place of the actual value of another field (originally an array of string).
When I use the Set processor, my Json is converted to a plain String.

Why is it doing this and how can I have it do what I'm looking for?

I already tried to use the convert processor but there is no object type.
I also tried to use the JSON processor but for some reason, it doesn't recognize the string.

Instead, I used a script processor and directly called the add method of the Array.

  "script": {
    "if": "true",
    "lang": "painless",
    "source": "ctx.MyArray.add(ctx.UnityEntry)"

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.