Skip to content

ghinknet/json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.24.1+

Features

  • Uses conditional compilation to be compatible with different architectures.

Usage

Marshal/Unmarshal

Default behaviors are mostly consistent with encoding/json.

import "github.com/ghinknet/json"

var data YourSchema
// Marshal
output, err := json.Marshal(&data)
// Unmarshal
err := json.Unmarshal(output, &data)

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages