github.com/jefferai/jsonx

Object or JSON -> JSONx. Because sometimes your luck runs out.


License
MPL-2.0
Install
go get github.com/jefferai/jsonx

Documentation

JSONx

GoDoc

A Go (Golang) library to transform an object or existing JSON bytes into JSONx. Because sometimes your luck runs out.

This follows the "standard" except for the handling of special and escaped characters. Names and values are properly XML-escaped but there is no special handling of values already escaped in JSON if they are valid in XML.