Skip to content

proposal: Schema.SubSchema #10

@jba

Description

@jba

Add the following method:

// SubSchema returns the sub-schema of root selected by the given [JSON Pointer] expression.
// It returns nil if the expression does not refer to a schema.
//
// [JSON Pointer]: https://datatracker.ietf.org/doc/html/rfc6901
func (root *Schema) SubSchema(jp string) *Schema

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions