mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
cf8cfbd865
* Refactor ordered_map into separate files Separate json and xml, from the regular yaml. Makes it possible to compile, without those... * Refactor encoder and decoder creation Use more consistent parameters vs globals Return errors instead of calling panic() * Allow build without json and xml support
12 lines
174 B
Go
12 lines
174 B
Go
//go:build yq_nojson
|
|
|
|
package yqlib
|
|
|
|
func NewJSONDecoder() Decoder {
|
|
return nil
|
|
}
|
|
|
|
func NewJSONEncoder(indent int, colorise bool, unwrapScalar bool) Encoder {
|
|
return nil
|
|
}
|