Request

Response

    Extensions.ToHFDMArray method (1 of 2)

    Extension method creates JSON for the standard HFDM array format based off the given JSON array.

    public static JObject ToHFDMArray(this JArray jsonArray)
    
    parameterdescription
    jsonArray The JSON array to use as the inner contents of the array.

    Return Value

    The resulting JSON object representing the array.

    Remarks

    This version creates the inner array assuming the code that created the parent property is the caller.

    See Also


    Extensions.ToHFDMArray method (2 of 2)

    Extension method creates JSON for the standard HFDM array format based off the given JSON array.

    public static JObject ToHFDMArray(this JArray jsonArray, string propertyName)
    
    parameterdescription
    jsonArray The JSON array to use as the inner contents of the array.
    propertyName The property containing the array.

    Return Value

    The resulting JSON object representing the array.

    See Also