blob: a8cecb0f027366fb11414130d17855e1a8b116d3 [file] [log] [blame]
PACKAGE
package gojsonreference
import "github.com/sigu-399/gojsonreference"
TYPES
type JsonReference struct {
HasFullUrl bool
HasUrlPathOnly bool
HasFragmentOnly bool
HasFileScheme bool
// contains filtered or unexported fields
}
func NewJsonReference(jsonReferenceString string) (JsonReference, error)
func (r *JsonReference) GetPointer() *gojsonpointer.JsonPointer
func (r *JsonReference) GetUrl() *url.URL
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 (r *JsonReference) String() string
SUBDIRECTORIES
bin
doc
pkg
src