Two entities with the same name in JSON Data structure overwriting each other

Hey there Decisions,

I'm having an issue with two JSON data structures. When I'm making an API call, there is an entity in both data structures called "Row", and they are overwriting each other. Is there a way to fix this? They share a namespace, could that be the cause?

Comments

  • Levi_Decisions
    edited September 13

    Hey there, thank you for using the Decisions Community Forum!

    When creating JSON Datastructures if any of them have elements with the same name and they share a namespace, the elements with the same name will overwrite each other.

    To resolve this issue, recreate one of the JSON Data structures within a separate folder so that the namespace is different for each of the structures. The Namespace is defined by the folder the Datastructure resides in.

    Here's our documentation on this, there are pictures and explanations: Creating From JSON (decisions.com)

    Regards,

    Levi | Decisions Support

Sign In or Register to comment.