Class Reporting
Provide reporting for de/serialization and verification.
Inheritance
System.Object
Reporting
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AasCore.Aas3_0
Assembly: AasCore.Aas3_0.dll
Syntax
public static class Reporting
Methods
| Improve this Doc View SourceGenerateJsonPath(ICollection<Reporting.Segment>)
Generate a JSON Path based on the path segments.
Declaration
public static string GenerateJsonPath(ICollection<Reporting.Segment> segments)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.ICollection<Reporting.Segment> | segments |
Returns
Type | Description |
---|---|
System.String |
Remarks
See, for example, this page for more information on JSON path: https://support.smartbear.com/alertsite/docs/monitors/api/endpoint/jsonpath.html
GenerateRelativeXPath(ICollection<Reporting.Segment>)
Generate a relative XPath based on the path segments.
Declaration
public static string GenerateRelativeXPath(ICollection<Reporting.Segment> segments)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.ICollection<Reporting.Segment> | segments |
Returns
Type | Description |
---|---|
System.String |
Remarks
This method leaves out the leading slash ('/'). This is helpful if to embed the error report in a larger document with a prefix etc.