Skip to content

Latest commit

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

json

A JSON library that uses conditional compilation to be compatible with different architectures.

Based on bytedance/sonic and goccy/go-json

Requirement

  • Go: 1.25.0+

Features

  • Uses conditional compilation to be compatible with different architectures.

Usage

Marshal/Unmarshal

Default behaviors are mostly consistent with encoding/json.

import"go.gh.ink/json"vardataYourSchema// Marshaloutput, err:=json.Marshal(&data)
// Unmarshalerr:=json.Unmarshal(output, &data)

About

A JSON library that uses conditional compilation to be compatible with different architectures

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages