hjson-go @ v3.1.0
integrity
- size
- 59.5 KiB
- downloaded
- last checked
release notes
Implement Marshal for structs, with support for comments in structs:
type foo struct {
a A `comment:"First comment"`
b B `comment:"Second comment"`
}
Additional minor bug fixes.
- Fix panic when passing nil to Unmarshal
- Bug fix for marshal of unsigned types
- Bug fix for README add closing block for code section
- Use custom Marshaler if type implements Marshal interface
- Add unit tests for Marshal. encode.go coverage at 94.9%
download
unix · zip
curl -fL -o v3.1.0.zip https://ratatoskr.space/pkg/hjson-go/v3.1.0.zip
printf '%s %s\n' 'a2126f88f40d37fd17a78b0b022f4741a93ab73f9aab0cc8d8516a699b819b96' 'v3.1.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/hjson-go/v3.1.0.zip"
$out = "v3.1.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "a2126f88f40d37fd17a78b0b022f4741a93ab73f9aab0cc8d8516a699b819b96") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v3.1.0.tar.gz https://ratatoskr.space/pkg/hjson-go/v3.1.0.tar.gz
printf '%s %s\n' '9138ab6cb42f4775cd924ef083faafab6bb578cd89ac041ece4d8b0178f11637' 'v3.1.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/hjson-go/v3.1.0.tar.gz"
$out = "v3.1.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "9138ab6cb42f4775cd924ef083faafab6bb578cd89ac041ece4d8b0178f11637") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v3.1.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/hjson-go/v3.1.0.zip
printf '%s %s\n' 'a2126f88f40d37fd17a78b0b022f4741a93ab73f9aab0cc8d8516a699b819b96' 'v3.1.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/hjson-go/v3.1.0.zip"
$out = "v3.1.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "a2126f88f40d37fd17a78b0b022f4741a93ab73f9aab0cc8d8516a699b819b96") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v3.1.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/hjson-go/v3.1.0.tar.gz
printf '%s %s\n' '9138ab6cb42f4775cd924ef083faafab6bb578cd89ac041ece4d8b0178f11637' 'v3.1.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/hjson-go/v3.1.0.tar.gz"
$out = "v3.1.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "9138ab6cb42f4775cd924ef083faafab6bb578cd89ac041ece4d8b0178f11637") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v3.1.0.zip | zip | 62.9 KiB |
blake3-24 3a919b7e3079946ecfe66145bda0d44ee33c8e817c200dbc
sha256 a2126f88f40d37fd17a78b0b022f4741a93ab73f9aab0cc8d8516a699b819b96
sha1 09bb817c056695fc4c418329b604f68a0bdc2fde
|
| v3.1.0.tar.gz | tar.gz | 25.0 KiB |
blake3-24 14530a4814224fbb7ab6ec92c80b8a696f7fb07019ea358e
sha256 9138ab6cb42f4775cd924ef083faafab6bb578cd89ac041ece4d8b0178f11637
sha1 dfa08b0d719fcfedd74a31c0031ec0796d3b4740
|
install
bazel
http_archive(
name = "hjson-go",
urls = ["https://ratatoskr.space/pkg/hjson-go/v3.1.0.tar.gz"],
integrity = "sha256-kTirbLQvR3XNkk7wg/qvq2u1eM2JrAQezk2LAXjxFjc=",
strip_prefix = "hjson-go-v3.1.0",
)
zig
.url = "https://ratatoskr.space/pkg/hjson-go/v3.1.0.tar.gz",
install via yggdrasil mesh
bazel
http_archive(
name = "hjson-go",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/hjson-go/v3.1.0.tar.gz"],
integrity = "sha256-kTirbLQvR3XNkk7wg/qvq2u1eM2JrAQezk2LAXjxFjc=",
strip_prefix = "hjson-go-v3.1.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/hjson-go/v3.1.0.tar.gz",