I am currently testing this cool new feature. As far as I can see it seems to be not fully implemented for Custom Pages. For example type declaration using the := operator result in an error.
MyType :=Type({Items: [{Id: Number}]});
Using the Type() function with ParseJSON directly works quite well. Yet I am having trouble deserializing arrays of primitive types. Here's my example:
Currently, arrays of primitive values (or of other arrays) are not supported in the typed version of the ParseJSON function - only arrays of objects (like you showed in your second example) is supported at this point.
As far as support for that, there are plans to support arrays of things other than objects, but we don't have any timeline at this point.
Please consider creating a feature request at https://aka.ms/powerapps-ideas to add the support for that. The more upvotes it gets, the easier it is to increase its priority compared to other features we have.
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.