Class Path
Class for serializing/deserializing Paths
Namespace: Xrpl.BinaryCodec.Types
Assembly: Xrpl.BinaryCodec.dll
Syntax
public class Path : List<PathHop>
Constructors
| Edit this page View SourcePath()
construct a Path
Declaration
public Path()
Path(IEnumerable<PathHop>)
construct a Path from an Enumerable of Hops
Declaration
public Path(IEnumerable<PathHop> enumerable)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<PathHop> | enumerable | Path or array of HopObjects to construct a Path |
Methods
| Edit this page View SourceFromJson(JsonNode)
Deserialize Path
Declaration
public static Path FromJson(JsonNode json)
Parameters
| Type | Name | Description |
|---|---|---|
| JsonNode | json | json token |
Returns
| Type | Description |
|---|---|
| Path |
ToJson()
Serialize Path
Declaration
public JsonArray ToJson()
Returns
| Type | Description |
|---|---|
| JsonArray |