Registry /
serialization / xeipuuv-gojsonreference
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
gojsonreference
✓ github.com/xeipuuv/gojsonreference
Parse a JSON reference
package main
import (
"fmt"
"github.com/xeipuuv/gojsonreference"
)
func main() {
ref, err := gojsonreference.NewJsonReference("http://example.com/foo#bar")
if err != nil {
fmt.Println("Error:", err)
return
}
fmt.Println("Reference URL:", ref.GetUrl())
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.0.0-20180127040603-bd5ef7bd5415latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.