Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello all,
I'm trying to map fields form a json object that is returned in the following way:
[
{
"Field 1":"ABC",
"Field 2":"ABC",
"Field 3":"ABC",
"Field ":[
{
"SubField 1":"ABC",
"SubField 2":"ABC",
"SubField 3":"ABC"
}
]
},
What i want to do is to create a node wich has Field 1, Field 2 and Field 3, and also SubField 1, SubField 2, and SubField 3.
I know how to map the primary fields, but i am unsure of what should be the way to map the SubFields.
Can anyone point me in the right direction regarding this?
Best Regards,
Bruno
Comments