Extensions class
Static class of extension methods used throughout the library.
public static class Extensions
Public Members
| name | description |
|---|---|
| static ConditionallyType(…) | Extension method conditionally adds a JSON format "typeid" property to the given JSON object. |
| static FromArrayObject(…) | Extension method gets the innermost JArray object from the input JSON token assuming the input is an object with a single typed array id as its only property which then contains an object in the standard HFDM array format. |
| static FromHFDMArray(…) | Extension gets the innermost JArray object from the input JSON token assuming the standard HFDM array format. |
| static IsNullOrEmpty(…) | Checks if provided JToken is null or empty. |
| static ToArrayObject(…) | 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. |
| static ToHFDMArray(…) | Extension method creates JSON for the standard HFDM array format based off the given JSON array. (2 methods) |