Create Keycloak Custom Mapper as JSON

Hello Everyone,

I want to create keycloak custom mapper as JSON as follow as User attribute:

“platform”: [
{
“id”: “dgdsfgdfgfdg”,
“business_id”: [
“[op[op[op[op[hkhjk”,
“gfhghfghgfgjghjghj”
]
},
{
“id”: “dfghfuy6t7”,
“business_id”: [
“hfghfghtyu78tyuiyj”,
“bnmbnmbhuy8678”
]
}
],

As You know that there is User Attribute type as JSON.
But I don’t know to do that.

Thanks