gojsonreference: github.com/xeipuuv/gojsonreference Index | Files

package gojsonreference

import "github.com/xeipuuv/gojsonreference"

Index

Package Files

reference.go

type JsonReference Uses

type JsonReference struct {
    HasFullUrl      bool
    HasUrlPathOnly  bool
    HasFragmentOnly bool
    HasFileScheme   bool
    HasFullFilePath bool
    // contains filtered or unexported fields
}

func NewJsonReference Uses

func NewJsonReference(jsonReferenceString string) (JsonReference, error)

func (*JsonReference) GetPointer Uses

func (r *JsonReference) GetPointer() *gojsonpointer.JsonPointer

func (*JsonReference) GetUrl Uses

func (r *JsonReference) GetUrl() *url.URL

func (*JsonReference) Inherits Uses

func (r *JsonReference) Inherits(child JsonReference) (*JsonReference, error)

Creates a new reference from a parent and a child If the child cannot inherit from the parent, an error is returned

func (*JsonReference) IsCanonical Uses

func (r *JsonReference) IsCanonical() bool

func (*JsonReference) String Uses

func (r *JsonReference) String() string

Package gojsonreference imports 6 packages (graph) and is imported by 29 packages. Updated 2018-01-31. Refresh now. Tools for package owners.