Popularity
1.7
Declining
Activity
0.0
Stable
16
1
7
Programming language: Go
License: Apache License 2.0
Tags:
Json
mapslice-json alternatives and similar packages
Based on the "JSON" category.
Alternatively, view mapslice-json alternatives based on common mentions on social networks and blogs.
-
jsonparser
One of the fastest alternative JSON parser for Go that does not require schema -
fastjson
Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection -
jsondiff
Compute the diff between two JSON documents as a series of RFC6902 (JSON Patch) operations -
marshmallow
Marshmallow provides a flexible and performant JSON unmarshalling in Go. It specializes in dealing with unstructured struct - when some fields are known and some aren't, with zero performance overhead nor extra coding needed. -
JSON-to-Proto
convert JSON to Protocol Buffers online in your browser instantly -
ujson
µjson - A fast and minimal JSON parser and transformer that works on unstructured JSON -
ask
A Go package that provides a simple way of accessing nested properties in maps and slices. -
go-jsonerror
Small package which wraps error responses to follow jsonapi.org -
epoch
Contains primitives for marshaling/unmarshaling Unix timestamp/epoch to/from built-in time.Time type in JSON -
Better Parsing of Unstructured JSON in Go
An error propagating JSON parsing library for Go -
omg.jsonparser
The simple JSON parser with validation by condition -
go-parameters
:blue_book: Easily parse incoming parameters and values from an HTTP request -
JSONcJSON
JSONC (json with comments) to JSON translator for Golang. -
jsonToStruct
Golang code generator for creating struct from json. -
jsonhandlers
JSON library to expose simple handlers that lets you easily read and write json from various sources.
WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Promo
workos.com
Do you think we are missing an alternative of mapslice-json or a related project?
README
mapslice-json
Go MapSlice for ordered marshal/ unmarshal of maps in JSON
Example
package main
import (
"encoding/json"
"fmt"
"log"
"github.com/mickep76/mapslice-json"
)
func main() {
ms := mapslice.MapSlice{
mapslice.MapItem{Key: "abc", Value: 123},
mapslice.MapItem{Key: "def", Value: 456},
mapslice.MapItem{Key: "ghi", Value: 789},
}
b, err := json.Marshal(ms)
if err != nil {
log.Fatal(err)
}
fmt.Println(string(b))
ms = mapslice.MapSlice{}
if err := json.Unmarshal(b, &ms); err != nil {
log.Fatal(err)
}
fmt.Println(ms)
}
*Note that all licence references and agreements mentioned in the mapslice-json README section above
are relevant to that project's source code only.