Bug#995763: ITP: golang-github-coreos-go-json -- Modified version of go's encoding/json library which allows decoding to a Node struct with offset information
Package: wnpp
Severity: wishlist
Owner: Dominik George <natureshadow@debian.org>
* Package name : golang-github-coreos-go-json
Version : 0.0~git20200220.5ae6071-1
Upstream Author : CoreOS
* URL : https://github.com/coreos/go-json
* License : TODO
Programming Lang: Go
Description : Modified version of go's encoding/json library which allows decoding to a Node struct with offset information
This is a fork of go's encoding/json library. It adds the a third target for unmarshalling, json.Node.
Unmarshalling to a Node behaves similarilarly to unmarshalling to an interface{}, except it also records
the offsets for the start and end of the value that was unmarshalled and, if the value was part of a json
object, it also records the offsets of the start and end of the object's key. The Value field of the Node
will be unmarshalled to the same types as if it were an interface{}, except in the case of arrays and
objects. In those case it will be unmarshalled to a []Node or map[string]Node instead []interface{} or
map[string]interface{} for arrays and objects, respectively.
(Maybe) needed for ignition, but clarifying upstream whether this fork is
really still needed.
Reply to: