How to set custom field to JSON object

That looks correct, if you are mapping a JSON string into another field.

So what do you actually want to achieve?

Hope this helps! Let me know if there are any further questions or issues.

@samliew