Extensions.ToArrayObject method
Extension method creates a JSON object with typed array id as the only property and, in turn, contains a JSON array in the standard HFDM array format.
public static JObject ToArrayObject(this JArray jsonArray, string propertyName, string typeid)
parameter | description |
---|---|
jsonArray | The JSON array to use as the inner contents of the array. |
propertyName | The property containing the array. |
typeid | The typeid identifying the type of the contents of the array. |
Return Value
The resulting JSON object representing the oject array.
See Also
- class Extensions
- namespace Autodesk.DataExchange.Converters.Extension