child

open fun child(index: Int): JsonWriter.MemberPath

Create a new child from this path with the specified index.

Return

a new MemberPath instance

Parameters

index

the index of the child


Create a new child from this path with the specified name.

Return

a new MemberPath instance

Parameters

name

the name of the child