GeistHaus
log in · sign up

GitHub - iOliverNguyen/ujson: µjson - A fast and minimal JSON parser and transformer that works on unstructured JSON

github.com

µjson - A fast and minimal JSON parser and transformer that works on unstructured JSON - iOliverNguyen/ujson

1 page links to this URL
µjson - A minimal JSON parser and transformer in Go

µjson is a minimal JSON parser and transformer that works on unstructured (and trusted) JSON. It works by parsing input and calling the given callback function when encountering each item. Motivation Sometimes we just want to make some minimal changes to a JSON document or do some generic transformations without fully unmarshalling it. For example, removing blacklisted keys from response JSON. Why spend all the cost on unmarshalling into a map[string]interface{} just to immediately marshal it again. The following code is taken from StackOverflow:

0 inbound links article en w