JObjectHelperTryGetArrayIndex Method
Attempts to extract an array index value from a json path segment.
Namespace: MFiles.VAF.Configuration.JsonMappingAssembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
public bool TryGetArrayIndex(
string pathPart,
out string propName,
out int index
)
- pathPart String
- The json path segment to extract the array index from.
- propName String
- Receives the property name portion of the json path segment.
- index Int32
- Receives teh array index of the json path segment if found, -1 otherwise.
BooleanTrue if an index value was found.