Show / Hide Table of Contents

Class Path

Class for serializing/deserializing Paths

Inheritance
object
List<PathHop>
Path
Namespace: Xrpl.BinaryCodec.Types
Assembly: Xrpl.BinaryCodec.dll
Syntax
public class Path : List<PathHop>

Constructors

| Edit this page View Source

Path()

construct a Path

Declaration
public Path()
| Edit this page View Source

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 Source

FromJson(JsonNode)

Deserialize Path

Declaration
public static Path FromJson(JsonNode json)
Parameters
Type Name Description
JsonNode json

json token

Returns
Type Description
Path
| Edit this page View Source

ToJson()

Serialize Path

Declaration
public JsonArray ToJson()
Returns
Type Description
JsonArray
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX