When parsing a request that features syntax matching both a Vantage ARRAY type element reference and a JSON type array reference, the following logic is used:
- The syntax is first treated as an element reference on a Vantage ARRAY type.
- If the source is not an ARRAY type, Vantage checks to see if the source is an instance of the JSON type.
- If the source is a JSON type instance, Vantage interprets the syntax as a JSON type array reference.
- If the source is not a JSON type instance, an error is returned indicating an incorrect array element reference.