Start a new topic
Answered

Mapping a JSON node

I must create a mapping where I need to map a value to a JSON node. JSON to produce would be like this:


{
   "targetId":55,
   "permissions": {
    "39": {
      "edit":true,
      "view":true
    }
   }
}


Mapping the value 55 to node targetId is easy, but how can I define the meta data to be able to map 39 value as a node inside the permission object ?


Best Answer

Hello,


This sort of mapping can be done due to json format restriction in the JSON metadata.


The best way is to use a script to construct the Json file.


Best Regard

1 Comment

Answer

Hello,


This sort of mapping can be done due to json format restriction in the JSON metadata.


The best way is to use a script to construct the Json file.


Best Regard

Login to post a comment