yggvault ratatoskr-space connected via regular web
Color theme
also available via yggdrasil mesh http://[203:b338:2a84:a18f:986:47ae:1a4:d8d3]/pkg/hjson-go/v4.3.0
vault / hjson-go / v4.3.0

hjson-go @ v4.3.0

integrity

size
120.1 KiB
downloaded
last checked
overlays
go
detected
go module github.com/hjson/hjson-go/v4
source https://github.com/hjson/hjson-go · available · github

release notes

Two new public structs of interest: hjson.OrderedMap and hjson.Node.

hjson.OrderedMap can be used as destination or source for all Hjson unmarshal and marshal functions (if the root value is a map/object), and also for the unmarshal and marshal functions of the standard package json. hjson.OrderedMap is similar to map[string]interface{}, but preserves key order.

hjson.Node can also be used as destination or source for all Hjson unmarshal and marshal functions, and also for the unmarshal and marshal functions of the standard package json. The struct is simply a wrapper for the actual value and a helper struct containing any comments, allowing comments and custom indentation to be preserved if you read in a document, change a value, and then save the document again. hjson.Node has several convenience functions, for example AtIndex() or SetKey() that can be used when you know that the node contains a value of type []interface{} or *hjson.OrderedMap.

Other changes:

Tested on Go 1.12 - 1.19

download

unix · zip
curl -fL -o v4.3.0.zip https://ratatoskr.space/pkg/hjson-go/v4.3.0.zip
                    printf '%s  %s\n' 'ba49d89551a1a8f52a9edbc501b7c7f0cec3b07dc4bf38a8c0070adafb3d2789' 'v4.3.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/hjson-go/v4.3.0.zip"
$out = "v4.3.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "ba49d89551a1a8f52a9edbc501b7c7f0cec3b07dc4bf38a8c0070adafb3d2789") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v4.3.0.tar.gz https://ratatoskr.space/pkg/hjson-go/v4.3.0.tar.gz
                    printf '%s  %s\n' 'fcf3c0a63805d3dd94f7dc5508f60ab04fa2e5dca72a3e655289ff9b154be84d' 'v4.3.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/hjson-go/v4.3.0.tar.gz"
$out = "v4.3.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "fcf3c0a63805d3dd94f7dc5508f60ab04fa2e5dca72a3e655289ff9b154be84d") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v4.3.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/hjson-go/v4.3.0.zip
                    printf '%s  %s\n' 'ba49d89551a1a8f52a9edbc501b7c7f0cec3b07dc4bf38a8c0070adafb3d2789' 'v4.3.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/hjson-go/v4.3.0.zip"
$out = "v4.3.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "ba49d89551a1a8f52a9edbc501b7c7f0cec3b07dc4bf38a8c0070adafb3d2789") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v4.3.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/hjson-go/v4.3.0.tar.gz
                    printf '%s  %s\n' 'fcf3c0a63805d3dd94f7dc5508f60ab04fa2e5dca72a3e655289ff9b154be84d' 'v4.3.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/hjson-go/v4.3.0.tar.gz"
$out = "v4.3.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "fcf3c0a63805d3dd94f7dc5508f60ab04fa2e5dca72a3e655289ff9b154be84d") { throw "sha256 mismatch" }
artifact format size hashes
v4.3.0.zip zip 125.8 KiB
blake3-24 d0e911a6b42e7ef05cd99296b52410ff3e272a33fa731423
sha256 ba49d89551a1a8f52a9edbc501b7c7f0cec3b07dc4bf38a8c0070adafb3d2789
sha1 c6253faa9dca0296d13a180b605f79a8d77db6a4
v4.3.0.tar.gz tar.gz 59.4 KiB
blake3-24 1db3a00b0eb74d47ee55236495633d550f0da491d918ad05
sha256 fcf3c0a63805d3dd94f7dc5508f60ab04fa2e5dca72a3e655289ff9b154be84d
sha1 afcbb4040191706558d71613c7146c60616dc04f

go module archive

module zip with the module path rewritten to this mirror; fetched by go get through the GOPROXY route

artifact format size hashes
v4.3.0.zip zip 133.4 KiB
blake3-24 3746c14c968463f29a2c03511013072eeeace6f779e4df6d
sha256 bce5a46e6cc991d5a3f497d0c90534c21b51500914116ad05d70b1f7771598ae
sha1 ca52dd15eb6c813a8d23c2c627717ffab994053a

install

bazel
http_archive(
    name = "hjson-go",
    urls = ["https://ratatoskr.space/pkg/hjson-go/v4.3.0.tar.gz"],
    integrity = "sha256-/PPApjgF092U99xVCPYKsE+i5dynKj5lUon/mxVL6E0=",
    strip_prefix = "hjson-go-v4.3.0",
)
zig
.url = "https://ratatoskr.space/pkg/hjson-go/v4.3.0.tar.gz",
go
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/hjson-go/v4@v4.3.0
install via yggdrasil mesh
bazel
http_archive(
    name = "hjson-go",
    urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/hjson-go/v4.3.0.tar.gz"],
    integrity = "sha256-/PPApjgF092U99xVCPYKsE+i5dynKj5lUon/mxVL6E0=",
    strip_prefix = "hjson-go-v4.3.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/hjson-go/v4.3.0.tar.gz",
go
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/hjson-go/v4@v4.3.0
← v4.3.1v4.2.0 →