11.11.19 ReferĀ  Method

Creates a mirror of another JSON element.

This method is provided as a way to avoid having to declare component variables as *DYNAMIC.

Input Arguments

Name

Type

Mandatory

Description

To

XPRIM_JsonElement

Yes

The target element to mirror.

Return Value

None.

Example

The following example makes #Object1 to point to the same object as #Object2.

     Define_Com Class(#XPRIM_JsonObject) Name(#Object1)
Define_Com Class(#XPRIM_JsonObject) Name(#Object2)
. . .
#Object1.Refer To(#Object2)